Add support for reading user-specific database_password from redis
This commits adds support for CartoDB-2.5.0 model. Closes #89. Change is backward compatible.
This commit is contained in:
@@ -11,7 +11,8 @@ var config = {
|
||||
,cache_enabled: false
|
||||
,log_format: '[:date] :req[X-Real-IP] :method :req[Host]:url :status :response-time ms -> :res[Content-Type] (:res[X-Tiler-Profiler])'
|
||||
,postgres_auth_user: 'development_cartodb_user_<%= user_id %>'
|
||||
,postgres_auth_pass: 'development_cartodb_user_<%= user_id %>_pass'
|
||||
// Supported labels: 'user_id', 'user_password' (both read from redis)
|
||||
,postgres_auth_pass: '<%= user_password %>'
|
||||
,postgres: {
|
||||
// Parameters to pass to datasource plugin of mapnik
|
||||
// See http://github.com/mapnik/mapnik/wiki/PostGIS
|
||||
|
||||
Reference in New Issue
Block a user