36 lines
734 B
JavaScript
36 lines
734 B
JavaScript
var config = {
|
|
environment: 'development'
|
|
,port: 8181
|
|
,host: '127.0.0.1'
|
|
,enable_cors: true
|
|
,cache_enabled: false
|
|
,postgres: {
|
|
type: "postgis",
|
|
user: "tileuser",
|
|
host: '127.0.0.1',
|
|
port: 5432,
|
|
geometry_field: "the_geom",
|
|
extent: "-180,-90,180,90",
|
|
srid: 4326,
|
|
max_size: 0,
|
|
simplify: true
|
|
}
|
|
,redis: {
|
|
host: '127.0.0.1',
|
|
port: 6379,
|
|
idleTimeoutMillis: 1,
|
|
reapIntervalMillis: 1
|
|
}
|
|
,sqlapi: {
|
|
protocol: 'http',
|
|
host: 'localhost.lan',
|
|
port: 8080,
|
|
version: 'v1'
|
|
}
|
|
,varnish: {
|
|
host: 'localhost',
|
|
port: 6082
|
|
}
|
|
};
|
|
|
|
module.exports = config; |