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,
|
2012-06-06 01:17:49 +08:00
|
|
|
extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188",
|
2012-05-08 00:30:16 +08:00
|
|
|
/* experimental
|
2012-05-02 02:00:14 +08:00
|
|
|
geometry_field: "the_geom",
|
|
|
|
extent: "-180,-90,180,90",
|
|
|
|
srid: 4326,
|
2012-05-08 00:30:16 +08:00
|
|
|
*/
|
2012-05-02 02:00:14 +08:00
|
|
|
simplify: true
|
|
|
|
}
|
|
|
|
,redis: {
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: 6379,
|
|
|
|
idleTimeoutMillis: 1,
|
|
|
|
reapIntervalMillis: 1
|
|
|
|
}
|
|
|
|
,sqlapi: {
|
2012-05-03 02:32:54 +08:00
|
|
|
protocol: 'http',
|
|
|
|
host: 'localhost.lan',
|
|
|
|
port: 8080,
|
|
|
|
version: 'v1'
|
2012-05-02 02:00:14 +08:00
|
|
|
}
|
|
|
|
,varnish: {
|
|
|
|
host: 'localhost',
|
|
|
|
port: 6082
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2012-05-08 00:30:16 +08:00
|
|
|
module.exports = config;
|