2012-05-02 02:00:14 +08:00
|
|
|
var config = {
|
|
|
|
environment: 'test'
|
2012-05-02 02:02:50 +08:00
|
|
|
,port: 8888
|
2012-05-02 02:00:14 +08:00
|
|
|
,host: '127.0.0.1'
|
|
|
|
,enable_cors: true
|
2012-05-02 02:02:50 +08:00
|
|
|
,cache_enabled: true
|
2012-05-02 02:00:14 +08:00
|
|
|
,postgres: {
|
|
|
|
user: "tileuser",
|
|
|
|
host: '127.0.0.1',
|
|
|
|
port: 5432,
|
|
|
|
srid: 4326,
|
|
|
|
max_size: 0,
|
|
|
|
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: '',
|
|
|
|
port: null
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = config;
|