2014-11-15 23:32:19 +08:00
defaults : &defaults
ogr2ogr :
binary : 'which ogr2ogr'
csv_guessing : false
debug_assets : true
mandatory_keys : [ layer_opts, sql_api, varnish_management, redis, session_domain]
2015-07-08 22:48:20 +08:00
session_domain : 'cartodb.localhost'
2015-05-16 19:01:49 +08:00
# If activated, urls will use usernames in format //SESSION_DOMAIN/user/USERNAME and ignore subdomains if present
2015-07-08 22:48:20 +08:00
subdomainless_urls : true
2015-05-16 19:01:49 +08:00
http_port : # 3000 # nil|integer. HTTP port to use when building urls. Leave empty to use default (80)
https_port : # nil|integer. HTTPS port to use when building urls. Leave empty to use default (443)
2014-11-15 23:32:19 +08:00
secret_token : '71c2b25921b84a1cb21c71503ab8fb23'
2015-02-13 21:45:42 +08:00
account_host : 'cartodb.localhost:3000'
2014-11-15 23:32:19 +08:00
account_path : '/account'
2015-05-16 19:01:49 +08:00
disable_file : '~/disable'
2014-11-15 23:32:19 +08:00
watcher :
ttl : 60
tiler :
internal :
protocol : 'http'
2015-02-13 21:45:42 +08:00
domain : 'cartodb.localhost'
2014-11-15 23:32:19 +08:00
port : '8181'
host : '127.0.0.1'
verifycert : false
private :
protocol : 'http'
2015-02-13 21:45:42 +08:00
domain : 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
port : '80'
2014-11-15 23:32:19 +08:00
verifycert : false
public :
protocol : 'http'
2015-02-13 21:45:42 +08:00
domain : 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
port : '80'
2014-11-15 23:32:19 +08:00
verifycert : false
sql_api :
private :
protocol : 'http'
2015-02-13 21:45:42 +08:00
domain : 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
endpoint : '/api/v2/sql'
port : 80
2014-11-15 23:32:19 +08:00
public :
protocol : 'http'
2015-02-13 21:45:42 +08:00
domain : 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
endpoint : '/api/v2/sql'
port : 80
2014-11-15 23:32:19 +08:00
api_requests_service_url : ''
2015-02-13 21:45:42 +08:00
developers_host : 'http://developers.cartodb.localhost:3000'
2014-11-15 23:32:19 +08:00
google_analytics :
primary : ''
embeds : ''
domain : ''
rollbar :
token : ''
tumblr :
api_key : ''
trackjs :
2015-05-16 19:01:49 +08:00
enabled : false
2014-11-15 23:32:19 +08:00
customer : ''
2015-05-16 19:01:49 +08:00
app_keys :
editor : ''
embeds : ''
hubspot : ''
2014-11-15 23:32:19 +08:00
common_data :
2015-05-16 19:01:49 +08:00
protocol : 'https'
username : 'common-data'
2015-07-08 22:48:20 +08:00
host : 'cartodb.com'
2015-05-16 19:01:49 +08:00
format : 'shp'
generate_every : 86400
explore-api :
2014-11-15 23:32:19 +08:00
username : ''
varnish_management :
critical : false
host : '127.0.0.1'
port : 6082
purge_command : 'purge'
retries : 5
timeout : 5
redis :
host : '127.0.0.1'
port : 6379
timeout : 20
databases :
tables_metadata : 0
api_credentials : 3
users_metadata : 5
redis_migrator_logs : 6
# mixpanel:
# api_key: xxx
# api_secret: xxx
# token: xxx
# github:
# repo: xxx
# org: xxx
# auth: xxx:xxx
superadmin :
username : "superadmin"
password : "monkey"
geocoder :
app_id : ''
token : ''
mailto : ''
base_url : ''
non_batch_base_url : ''
internal :
username : ''
api_key : ''
cache :
base_url : ''
api_key : ''
table_name : ''
importer :
2015-05-12 14:09:35 +08:00
content_guessing : # Depends on geocoding
enabled : false # Disabled if false or not present
threshold : 0.9 # 90% or more matches
minimum_entropy : 0.9 # Normalized entropy, between 0.0 and 1.0. See http://en.wikipedia.org/wiki/Entropy_(information_theory)
sample_size : 400 # +-5% error. See http://en.wikipedia.org/wiki/Sample_size_determination#Estimating_proportions_and_means
2014-11-15 23:32:19 +08:00
s3 :
access_key_id :
secret_access_key :
bucket_name :
url_ttl :
2015-05-12 14:09:35 +08:00
async_long_uploads : false
2014-11-15 23:32:19 +08:00
error_track :
url : 'https://viz2.cartodb.com/api/v1/sql'
percent_users : 10
# graphite endpoint used to post frontend stats
graphite_public :
host : ""
port :
layer_opts :
2015-05-16 19:01:49 +08:00
public_opts : [ "type" , "active" , "query" , "opacity" , "auto_bound" ,
"interactivity" , "debug" , "visible" , "tiler_domain" ,
"tiler_port" , "tiler_protocol" , "sql_domain" , "sql_port" ,
"sql_protocol" , "extra_params" , "cdn_url" , "table_name" ,
2014-11-15 23:32:19 +08:00
"user_name" , "style_version" , "tile_style" , "query_wrapper" ]
default_tile_styles :
point : "{\n marker-fill: #FF6600;\n marker-opacity: 0.9;\n marker-width: 12;\n marker-line-color: white;\n marker-line-width: 3;\n marker-line-opacity: 0.9;\n marker-placement: point;\n marker-type: ellipse;\n marker-allow-overlap: true;\n}"
geometry : "{\n // points\n [mapnik-geometry-type=point] {\n marker-fill: #FF6600;\n marker-opacity: 1;\n marker-width: 12;\n marker-line-color: white;\n marker-line-width: 3;\n marker-line-opacity: 0.9;\n marker-placement: point;\n marker-type: ellipse;marker-allow-overlap: true;\n }\n\n //lines\n [mapnik-geometry-type=linestring] {\n line-color: #FF6600; \n line-width: 2; \n line-opacity: 0.7;\n }\n\n //polygons\n [mapnik-geometry-type=polygon] {\n polygon-fill:#FF6600;\n polygon-opacity: 0.7;\n line-opacity:1;\n line-color: #FFFFFF;\n }\n }"
polygon : "{\n polygon-fill:#FF6600;\n polygon-opacity: 0.7;\n line-opacity:1;\n line-color: #FFFFFF;\n}"
multipolygon : "{\n polygon-fill:#FF6600;\n polygon-opacity: 0.7;\n line-opacity:1;\n line-color: #FFFFFF;\n}"
multilinestring : "{\n line-color:#FF6600;\n line-width:1;\n line-opacity: 0.7;\n}"
data :
kind : "carto"
options :
query : ""
opacity : 0.99
auto_bound : false
interactivity : "cartodb_id"
debug : false
visible : true
2015-02-13 21:45:42 +08:00
tiler_domain : "cartodb.localhost"
2014-11-15 23:32:19 +08:00
tiler_port : "8181"
tiler_protocol : "http"
2015-02-13 21:45:42 +08:00
sql_domain : "cartodb.localhost"
2014-11-15 23:32:19 +08:00
sql_port : "8080"
sql_protocol : "http"
extra_params : { cache_policy : 'persist' }
cdn_url : ""
tile_style_history : [ ]
style_version : "2.1.1"
infowindow :
template_name : "table/views/infowindow_light"
background :
kind : "background"
options : { color : '#ffffff' }
base :
kind : "tiled"
options :
visible : true
type : "Tiled"
urlTemplate : "https://maps.nlp.nokia.com/maptiler/v2/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24"
name : 'Nokia Day'
className : "nokia_day"
attribution : "©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>"
gmaps :
kind : "gmapsbase"
options :
base_type : "roadmap"
style : ""
2015-02-13 21:45:42 +08:00
cartodb_com_hosted : false
cartodb_central_domain_name : 'cartodb.localhost'
2014-11-15 23:32:19 +08:00
aws :
s3 :
access_key_id : "test"
secret_access_key : "test"
assets :
2015-07-08 22:48:20 +08:00
# store assets locally instead of s3
# s3_bucket_name: "tests"
2015-05-16 19:01:49 +08:00
max_file_size : 5242880 # 5.megabytes
2014-11-15 23:32:19 +08:00
app_assets :
asset_host : "//cartodb-libs.global.ssl.fastly.net/cartodbui"
avatars :
2015-07-08 22:48:20 +08:00
base_url : 'cartodb-libs.global.ssl.fastly.net/cartodbui/assets/unversioned/images/avatars'
kinds : [ 'ghost' , 'marker' , 'mountain' , 'pacman' , 'planet' , 'star' ]
2015-02-18 16:50:20 +08:00
colors : [ 'green' , 'orange' , 'red' , 'yellow' ]
2014-11-15 23:32:19 +08:00
dropbox_api_key : ""
2015-05-16 19:01:49 +08:00
gdrive :
2014-11-15 23:32:19 +08:00
api_key : ""
app_id : ""
2015-05-12 14:09:35 +08:00
# This enables a support chat within editor
# Use your Olark api id to enable it. If you remove this entry or don't define an app key, it won't be activated.
olark :
app_id : ''
2014-11-15 23:32:19 +08:00
enforce_non_empty_layer_css : true
2015-05-12 14:09:35 +08:00
users_dumps :
service :
port : 00000
2014-11-15 23:32:19 +08:00
oauth :
# If the client_id/app_key is not set won't appear at the UI. @see application_helper.rb -> frontend_config
# Must be the same as CartoDB::Datasources::xxxx DATASOURCE_NAME constants
gdrive :
application_name : ''
client_id : ''
client_secret : ''
callback_url : 'http://cartodb.com'
2015-05-12 14:09:35 +08:00
google_plus :
client_id : ''
cookie_policy : 'single_host_origin'
#cookie_policy: 'https://cartodb-staging.com'
2014-11-15 23:32:19 +08:00
dropbox :
app_key : ''
app_secret : ''
callback_url : ''
instagram :
app_key : ''
app_secret : ''
callback_url : ''
2015-05-12 14:09:35 +08:00
# Mailchimp datasource. Setup at https://admin.mailchimp.com/account/oauth2/ then fill here.
# If fields are present but empty, option won't appear at editor import window
2015-02-13 21:47:46 +08:00
mailchimp :
app_key : ''
2015-05-12 14:09:35 +08:00
app_secret : ''
callback_url : ''
2014-11-15 23:32:19 +08:00
datasource_search :
# Must be the same as CartoDB::Datasources::xxxx DATASOURCE_NAME constants
twitter_search :
standard :
auth_required : false
username : ''
password : ''
search_url : 'http://fake.url.nil'
ratelimit_active : true
ratelimit_concurrency : 8
ratelimit_ttl : 4
ratelimit_wait_secs : 0.5
customized_user_list : [ ]
customized_orgs_list : [ ]
entity_to_config_map : [ ] # { user_or_org_name: 'custom_config_name'}
customized :
custom1 :
auth_required : false
username : ''
password : ''
search_url : 'http://fake.url.nil'
ratelimit_active : false
ratelimit_concurrency : 3
ratelimit_ttl : 4
ratelimit_wait_secs : 0.1
2015-05-12 14:09:35 +08:00
feature_flags :
ghost_tables :
restricted : true
rainbow_maps :
restricted : false
user_feature_flags :
rambo : [ 'ghost_tables' ]
basemaps :
2015-02-18 16:50:20 +08:00
Nokia :
normal_day :
url : 'https://maps.nlp.nokia.com/maptiler/v2/maptile/newest/normal.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24'
minZoom : '0'
maxZoom : '21'
className : "nokia_normal_day"
attribution : "©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>"
name : 'Nokia normal Day'
terrain_day :
url : 'https://maps.nlp.nokia.com/maptiler/v2/maptile/newest/terrain.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24'
minZoom : '0'
maxZoom : '21'
className : "nokia_terrain_day"
attribution : "©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>"
name : 'Nokia Terrain Day'
satellite_day :
url : 'https://maps.nlp.nokia.com/maptiler/v2/maptile/newest/satellite.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24'
minZoom : '0'
maxZoom : '21'
className : "nokia_satellite_day"
attribution : "©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>"
name : 'Nokia Satellite Day'
hybrid_day :
url : 'https://maps.nlp.nokia.com/maptiler/v2/maptile/newest/hybrid.day/{z}/{x}/{y}/256/png8?lg=eng&token=A7tBPacePg9Mj_zghvKt9Q&app_id=KuYppsdXZznpffJsKT24'
minZoom : '0'
maxZoom : '21'
className : "nokia_hybrid_day"
attribution : "©2012 Nokia <a href='http://here.net/services/terms' target='_blank'>Terms of use</a>"
name : 'Nokia hybrid Day'
2015-05-12 14:09:35 +08:00
CartoDB :
positron_rainbow :
2015-05-16 19:01:49 +08:00
default : true
2015-05-12 14:09:35 +08:00
url : 'http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Positron'
className : 'positron_rainbow'
attribution : '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href= "http://cartodb.com/attributions#basemaps">CartoDB</a>'
dark_matter_rainbow :
url : 'http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Dark matter'
className : 'dark_matter_rainbow'
attribution : '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="http://cartodb.com/attributions#basemaps">CartoDB</a>'
positron_lite_rainbow :
url : 'http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Positron (lite)'
className : 'positron_lite_rainbow'
attribution : '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="http://cartodb.com/attributions#basemaps">CartoDB</a>'
dark_matter_lite_rainbow :
url : 'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Dark matter (lite)'
className : 'dark_matter_lite_rainbow'
attribution : '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="http://cartodb.com/attributions#basemaps">CartoDB</a>'
eco_cartodb :
url : 'https://cartocdn_{s}.global.ssl.fastly.net/base-antique/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '10'
name : 'CartoDB World Eco'
className : 'eco_cartodb'
attribution : ''
flat_blue :
url : 'https://cartocdn_{s}.global.ssl.fastly.net/base-flatblue/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '10'
name : 'CartoDB World Flat Blue'
className : 'flat_blue'
attribution : ''
midnight_cartodb :
url : 'https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '10'
name : 'CartoDB World Midnight Commander'
className : 'midnight_cartodb'
attribution : ''
Stamen :
toner_stamen :
url : 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Toner'
className : 'toner_stamen'
attribution : 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
toner_background_stamen :
url : 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Toner Background'
className : 'toner_background_stamen'
attribution : 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
toner_lite_stamen :
url : 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Toner Lite'
className : 'toner_lite_stamen'
attribution : 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
toner_lines_stamen :
url : 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lines/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Toner Lines'
className : 'toner_lines_stamen'
attribution : 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
toner_hybrid_stamen :
url : 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-hybrid/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Toner Hybrid'
className : 'toner_hybrid_stamen'
attribution : 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
watercolor_stamen :
url : 'https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png'
subdomains : 'abcd'
minZoom : '0'
maxZoom : '18'
name : 'Watercolor'
className : 'watercolor_stamen'
attribution : 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a>. Data by <a href="http://openstreetmap.org">OpenStreetMap</a>, under <a href="http://www.openstreetmap.org/copyright">ODbL</a>.'
2014-11-15 23:32:19 +08:00
development :
<< : *defaults
2015-05-16 19:01:49 +08:00
#http_port: 3000
2014-11-15 23:32:19 +08:00
varnish_management :
critical : false
host : '127.0.0.1'
port : 6082
purge_command : 'purge'
url_purge_command : 'url.purge'
retries : 5
timeout : 5
enforce_non_empty_layer_css : false
test :
<< : *defaults
2015-05-16 19:01:49 +08:00
http_port : 53716
2014-11-15 23:32:19 +08:00
redis :
host : '127.0.0.1'
port : 6335
enforce_non_empty_layer_css : false
api_requests_es_service :
2015-02-13 21:45:42 +08:00
url : "http://api-calls-service.cartodb.localhost/search"
2014-11-15 23:32:19 +08:00
body : ""
staging :
<< : *defaults
production :
<< : *defaults