Windshaft-cartodb/config/environments/development.js

39 lines
826 B
JavaScript
Raw Normal View History

2012-05-02 02:00:14 +08:00
var config = {
environment: 'development'
,port: 8181
,host: '127.0.0.1'
,enable_cors: true
2012-05-02 02:02:50 +08:00
,cache_enabled: false
2012-05-02 02:00:14 +08:00
,postgres: {
type: "postgis",
user: "tileuser",
host: '127.0.0.1',
port: 5432,
extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188",
/* experimental
2012-05-02 02:00:14 +08:00
geometry_field: "the_geom",
extent: "-180,-90,180,90",
srid: 4326,
*/
2012-05-02 02:00:14 +08:00
simplify: true
}
,redis: {
host: '127.0.0.1',
port: 6379,
idleTimeoutMillis: 1,
reapIntervalMillis: 1
}
,sqlapi: {
protocol: 'http',
host: 'localhost.lan',
port: 8080,
version: 'v1'
2012-05-02 02:00:14 +08:00
}
,varnish: {
host: 'localhost',
port: 6082
}
};
module.exports = config;