Merge branch 'master' of github.com:Vizzuality/Windshaft-cartodb

This commit is contained in:
Simon Tokumine
2012-04-01 18:14:17 +01:00
4 changed files with 4 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ cluster(ws)
.use(cluster.stats())
.use(cluster.pidfiles('pids'))
.set('workers', 1)
.listen(global.environment.windshaft_port);
.listen(global.environment.windshaft_port, global.environment.windshaft_host);
//ws.listen(global.environment.windshaft_port);
console.log("Windshaft tileserver started on port " + global.environment.windshaft_port);

View File

@@ -15,6 +15,7 @@ module.exports.redis = {host: '127.0.0.1',
idleTimeoutMillis: 1,
reapIntervalMillis: 1};
module.exports.windshaft_port = 8181;
module.exports.windshaft_host = '127.0.0.1';
module.exports.enable_cors = true;
module.exports.varnish_host = 'localhost';
module.exports.varnish_port = 6082;

View File

@@ -2,6 +2,7 @@ module.exports.name = 'production';
module.exports.postgres = {user: 'tileuser', host: '127.0.0.1', port: 6432, simplify: true};
module.exports.redis = {host: '127.0.0.1', port: 6379};
module.exports.windshaft_port = 8181;
module.exports.windshaft_host = '127.0.0.1';
module.exports.ttl_timeout = 600; // 10 minutes
module.exports.varnish_host = 'localhost';
module.exports.varnish_port = 6082

View File

@@ -5,6 +5,7 @@ module.exports.redis = {host: '127.0.0.1',
idleTimeoutMillis: 1,
reapIntervalMillis: 1};
module.exports.windshaft_port = 8080;
module.exports.windshaft_host = '127.0.0.1';
module.exports.enable_cors = true;
module.exports.varnish_host = '';
module.exports.varnish_port = null;