docker-cartojw/config/app_config.yml

769 lines
38 KiB
YAML
Raw Normal View History

defaults: &defaults
2016-09-17 15:52:55 +08:00
# If uncommented, most images like static map previews and twitter card image urls will use this CDN urls
#cdn_url:
# http: "http.cdn.host"
# https: "https.cdn.host"
http_client_logs: true
ogr2ogr:
2018-07-03 05:07:35 +08:00
binary: 'which ogr2ogr'
2016-09-17 15:52:55 +08:00
csv_guessing: true
memory_limit:
debug_assets: true
mandatory_keys: [layer_opts, sql_api, varnish_management, redis, session_domain]
session_domain: 'cartodb.localhost'
# If activated, urls will use usernames in format //SESSION_DOMAIN/user/USERNAME and ignore subdomains if present
subdomainless_urls: true
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)
secret_token: '71c2b25921b84a1cb21c71503ab8fb23'
account_host: 'cartodb.localhost:3000'
2018-04-05 04:23:54 +08:00
# Here you can define other hosts different to account_host that also will be CORS enabled
# cors_enabled_hosts:
# - example.com
# - foo.bar
# - carto.dev
account_path: '/account'
2016-09-17 15:52:55 +08:00
vizjson_cache_domains: ['.localhost']
2016-02-08 04:59:11 +08:00
data_library:
username: 'common-data'
path: '/data-library'
disable_file: '~/disable'
watcher:
ttl: 60
tiler:
2016-02-08 04:59:11 +08:00
filter: 'mapnik'
internal:
protocol: 'http'
domain: 'cartodb.localhost'
port: '80'
verifycert: false
private:
protocol: 'http'
domain: 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
port: '80'
verifycert: false
public:
protocol: 'http'
domain: 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
port: '80'
verifycert: false
sql_api:
private:
protocol: 'http'
domain: 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
endpoint: '/api/v2/sql'
port: 80
public:
protocol: 'http'
domain: 'cartodb.localhost'
2015-05-18 20:37:45 +08:00
endpoint: '/api/v2/sql'
port: 80
api_requests_service_url: ''
developers_host: 'http://developers.cartodb.localhost:3000'
google_analytics:
primary: ''
embeds: ''
domain: ''
2018-06-22 16:29:42 +08:00
google_tag_manager:
primary: ''
embeds: ''
2016-09-17 15:52:55 +08:00
rollbar_api_key: ''
tumblr:
api_key: ''
trackjs:
enabled: false
customer: ''
app_keys:
editor: ''
embeds: ''
#fullstory:
#org: 'XXXXX'
2016-02-08 04:59:11 +08:00
facebook:
app_id: ''
admins: ''
hubspot: ''
2016-02-08 04:59:11 +08:00
segment:
api_key:
2018-06-22 16:29:42 +08:00
passwords:
expiration_in_d:
# metrics:
# hubspot:
# events_host: ''
# token: ''
# form_ids:
# newsletter: ''
# event_ids:
# import_failed: ''
# geocoding_failed: ''
# import_success: ''
# geocoding_success: ''
# published_visualization: ''
# visited_dashboard: ''
# connect_dataset: ''
# create_map: ''
# export_table: ''
# export_map: ''
# export_public_map: ''
# select_wms: ''
# color_basemap: ''
# pattern_basemap: ''
# geocoding: ''
# visual_merge: ''
# common_data: ''
# cartocss_manually: ''
# wizard: ''
# filter: ''
# query: ''
# applied_sql: ''
# applied_cartocss: ''
# modified_style_form: ''
# completed_connection: ''
# failed_connection: ''
# created_analysis: ''
# modified_analysis: ''
# published_map: ''
# exported_map: ''
# mailing_track:
# like_map: ''
# trending_map: ''
common_data:
protocol: 'https'
username: 'common-data'
2016-09-17 15:52:55 +08:00
base_url: 'https://common-data.carto.com'
format: 'gpkg'
2016-09-17 15:52:55 +08:00
generate_every: 86400
2016-02-08 04:59:11 +08:00
explore_api:
username: ''
2018-06-22 16:29:42 +08:00
# aggregation_tables:
# host: 'localhost'
# port: '5432'
# dbname: 'dataservices_db'
# username: 'geocoder_api'
# password: ''
# tables:
# admin0: 'ne_admin0_v3'
# admin1: 'global_province_polygons'
2016-02-08 04:59:11 +08:00
reports:
mail_to: ''
mailer:
2016-09-17 15:52:55 +08:00
from: 'cartodb.localhost <support@cartodb.localhost>'
2016-02-08 04:59:11 +08:00
address: ''
port: ''
user_name: ''
password: ''
authentication: ''
enable_starttls_auto: ''
varnish_management:
critical: false
host: '127.0.0.1'
port: 6082
http_port: 6081
purge_command: 'purge'
retries: 5
timeout: 5
2016-02-08 04:59:11 +08:00
# 'warning' or 'error'
trigger_verbose: true
Commented out 'invalidation_service' section I commented out the entire 'invalidation_service' section from app_config.yml. It _should_ be sufficient to set 'enabled' to false in that block, in order to prevent the Redis/Resque based invalidation service from being used inside the postgres trigger for invalidating cache items, but it's actually easier to just comment out the whole block. See this portion of the Carto code for reference: https://github.com/CartoDB/cartodb/blob/05a05fd6959bf4cc42480daec08d28449532cd8e/app/models/user/db_service.rb#L1062-L1070 The branch we want to go down in that code is the middle one--we want to end up with `create_function_invalidate_varnish_http` running. That will create a postgres trigger based on hitting the Varnish server's HTTP listener, which is running on 6081. (You could have it hit the telnet port by taking the third branch of that code, but given that telnet isn't included in later Varnish versions, best not to.) You want to avoid the first branch of that code, `create_function_invalidate_varnish_invalidation_service`, because it includes this line: https://github.com/CartoDB/cartodb/blob/05a05fd6959bf4cc42480daec08d28449532cd8e/app/models/user/db_service.rb#L1601 That's calling a custom Redis command, `TCH`, which is defined in a repo that Carto has not open sourced--meaning the 'invalidation service' (as a Redis job queue for the Resque job runner) can't be used in open source Carto (unless you reverse engineer the Redis commands it uses.)
2019-07-19 07:17:28 +08:00
# invalidation_service:
# enabled: false
# host: '127.0.0.1'
# port: 3142
# retries: 5 # number of retries before considering failure
# critical: false # either the failure is considered an error or a warning
# timeout: 5 # socket timeout
# trigger_verbose: true
redis:
host: '127.0.0.1'
port: 6379
2016-09-17 15:52:55 +08:00
connect_timeout: 2
read_timeout: 3
write_timeout: 5
databases:
tables_metadata: 0
api_credentials: 3
users_metadata: 5
redis_migrator_logs: 6
2018-04-05 04:23:54 +08:00
limits_metadata: 8
2018-06-22 16:29:42 +08:00
# secondary:
# host: '127.0.0.1'
2016-02-08 04:59:11 +08:00
org_metadata_api:
host: 'localhost.lan'
port: '3000'
username: "extension"
password: "elephant"
timeout: 10
superadmin:
username: "superadmin"
password: "monkey"
geocoder:
2016-02-08 04:59:11 +08:00
#force_batch: true
#disable_cache: true
app_id: ''
token: ''
mailto: ''
base_url: ''
non_batch_base_url: ''
internal:
username: ''
api_key: ''
cache:
base_url: ''
api_key: ''
table_name: ''
search_bar_provider: ''
2018-04-05 04:23:54 +08:00
mapbox:
search_bar_api_key: ''
tomtom:
search_bar_api_key: ''
2018-06-22 16:29:42 +08:00
# api:
# host: 'localhost'
# port: '5432'
# dbname: 'dataservices_db'
# user: 'geocoder_api'
2016-09-17 15:52:55 +08:00
user_migrator:
user_exports_folder: '/tmp/user_exports'
user_imports_folder: '/tmp/user_imports'
s3:
access_key_id: ''
secret_access_key: ''
bucket_name: ''
url_ttl: 7200
async_long_uploads: false
2018-04-05 04:23:54 +08:00
region: ''
2016-09-17 15:52:55 +08:00
uploads_path: 'public/uploads'
2018-04-05 04:23:54 +08:00
pg_dump_bin_path:
'9.5': 'pg_dump'
'10': 'pg_dump'
pg_restore_bin_path:
'9.5': 'pg_restore'
'10': 'pg_restore'
2016-09-17 15:52:55 +08:00
exporter:
exporter_temporal_folder: '/tmp/exporter'
s3:
access_key_id: ''
secret_access_key: ''
bucket_name: ''
url_ttl: 7200
async_long_uploads: false
s3_endpoint: ''
2018-04-05 04:23:54 +08:00
region: ''
2016-09-17 15:52:55 +08:00
uploads_path: 'public/uploads' # including 'uploads' assumes public path. Absolute path example: /tmp/exports/downloads
importer:
2016-09-17 15:52:55 +08:00
blacklisted_ip_addr: []
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
s3:
access_key_id:
secret_access_key:
bucket_name:
url_ttl:
2015-05-12 14:09:35 +08:00
async_long_uploads: false
2016-09-17 15:52:55 +08:00
proxy_uri:
2018-04-05 04:23:54 +08:00
s3_endpoint: '' # :use_ssl has been removed. Version 2 uses SSL everywhere. To disable SSL you must configure an :endpoint that uses http://.
region: ''
2016-09-17 15:52:55 +08:00
2016-02-08 04:59:11 +08:00
unp_temporal_folder: '/tmp/imports/'
# It must end in `/uploads` and be accessible via HTTP, if relative will default to Rails.Root/#{uploads_path}
uploads_path: 'public/uploads'
error_track:
2016-09-17 15:52:55 +08:00
url: 'https://viz2.carto.com/api/v1/sql'
percent_users: 10
# graphite endpoint used to post frontend stats
graphite_public:
host: ""
port:
layer_opts:
public_opts: ["type", "active", "query", "opacity", "auto_bound",
"interactivity", "debug", "visible", "tiler_domain",
"tiler_port", "tiler_protocol", "sql_domain", "sql_port",
2016-02-08 04:59:11 +08:00
"sql_protocol", "extra_params", "table_name",
"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}"
2018-04-05 04:23:54 +08:00
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:
2016-09-17 15:52:55 +08:00
# attribution: 'CARTO attribution'
query: ""
opacity: 0.99
auto_bound: false
interactivity: "cartodb_id"
debug: false
visible: true
tiler_domain: "cartodb.localhost"
tiler_port: "80"
tiler_protocol: "http"
sql_domain: "cartodb.localhost"
sql_port: "80"
sql_protocol: "http"
extra_params: { cache_policy: 'persist' }
tile_style_history: []
style_version: "2.1.1"
infowindow:
template_name: "table/views/infowindow_light"
background:
kind: "background"
options: { color: '#ffffff' }
cartodb_com_hosted: false
cartodb_central_domain_name: 'cartodb.localhost'
aws:
s3:
access_key_id: "test"
secret_access_key: "test"
2018-04-05 04:23:54 +08:00
region: ''
assets:
2016-09-17 15:52:55 +08:00
s3_bucket_name: "tests"
max_file_size: 5242880 # 5.megabytes
2018-04-05 04:23:54 +08:00
region: ''
# Example for configuring organization assets.
# If 'aws.s3' configuration exists, S3 is used for storing assets and 'assets.organization.bucket' value is required. If 'aws.s3' config is not present, assets will be stored locally.
# organization:
# bucket: "tests" # Required if 'aws.s3' config is present. Bucket must exist beforehand. If no 'aws.s3' config is present, organization assets will be stored locally and this line is not needed.
# max_size_in_bytes: 1048576 # Optional, default is 1 MB
# location: 'organization_assets' # Optional subdirectory for local assets, default is 'organization_assets'
app_assets:
asset_host: "//cartodb.localhost"
avatars:
2016-09-17 15:52:55 +08:00
gravatar_enabled: true
base_url: '/assets/unversioned/images/avatars'
kinds: ['ghost', 'heart', 'marker', 'mountain', 'pacman', 'planet', 'star']
colors: ['green', 'orange', 'red', 'yellow']
dropbox_api_key: ""
gdrive:
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: ''
enforce_non_empty_layer_css: false
2015-05-12 14:09:35 +08:00
users_dumps:
service:
port: 00000
2016-02-08 04:59:11 +08:00
http_header_authentication:
header: # name of the trusted, safe header that your server adds to the request
field: # 'email' / 'username' / 'id' / 'auto' (autodetection)
autocreation: # true / false (true requires field to be email)
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: ''
2016-09-17 15:52:55 +08:00
callback_url: 'https://carto.com'
# google_plus:
# client_id: ''
2018-04-05 04:23:54 +08:00
# client_secret: ''
2016-09-17 15:52:55 +08:00
# cookie_policy: 'single_host_origin'
# cookie_policy: 'https://cartodb-staging.com'
github:
client_id: ''
client_secret: ''
dropbox:
app_key: ''
app_secret: ''
callback_url: ''
2016-02-08 04:59:11 +08:00
box:
application_name: ''
client_id: ''
client_secret: ''
box_host: "app.box.com"
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
mailchimp:
app_key: ''
2015-05-12 14:09:35 +08:00
app_secret: ''
callback_url: ''
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
datasources:
arcgis_enabled: false
salesforce_enabled: false
2018-04-05 04:23:54 +08:00
basemaps: # Adding `default: true` at a basemap marks its group as the default one. Its first basemap becomes the default one.
2016-09-17 15:52:55 +08:00
CARTO:
2018-04-05 04:23:54 +08:00
voyager_labels:
default: true
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_nolabels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_nolabels/{z}/{x}/{y}@2x.png'
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Voyager'
className: 'voyager_labels'
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
labels:
urlTemplate: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_only_labels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_only_labels/{z}/{x}/{y}@2x.png'
positron_rainbow_labels:
urlTemplate: 'https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}@2x.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Positron'
2016-09-17 15:52:55 +08:00
className: 'positron_rainbow_labels'
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
labels:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}@2x.png'
2016-09-17 15:52:55 +08:00
dark_matter_rainbow_labels:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}@2x.png'
2016-09-17 15:52:55 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Dark matter'
className: 'dark_matter_rainbow_labels'
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
labels:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}@2x.png'
voyager:
urlTemplate: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_labels_under/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_labels_under/{z}/{x}/{y}@2x.png'
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Voyager (labels below)'
className: 'voyager'
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
2016-09-17 15:52:55 +08:00
positron_rainbow:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}@2x.png'
2016-09-17 15:52:55 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Positron (labels below)'
2015-05-12 14:09:35 +08:00
className: 'positron_rainbow'
2016-09-17 15:52:55 +08:00
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
2015-05-12 14:09:35 +08:00
dark_matter_rainbow:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}@2x.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
2016-09-17 15:52:55 +08:00
name: 'Dark matter (labels below)'
2015-05-12 14:09:35 +08:00
className: 'dark_matter_rainbow'
2016-09-17 15:52:55 +08:00
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
2018-04-05 04:23:54 +08:00
voyager_lite:
urlTemplate: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_nolabels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/rastertiles/voyager_nolabels/{z}/{x}/{y}@2x.png'
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Voyager (lite)'
className: 'voyager_lite'
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
2015-05-12 14:09:35 +08:00
positron_lite_rainbow:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}@2x.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Positron (lite)'
className: 'positron_lite_rainbow'
2016-09-17 15:52:55 +08:00
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
2015-05-12 14:09:35 +08:00
dark_matter_lite_rainbow:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png'
urlTemplate2x: 'https://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}@2x.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Dark matter (lite)'
className: 'dark_matter_lite_rainbow'
2016-09-17 15:52:55 +08:00
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
2015-05-12 14:09:35 +08:00
eco_cartodb:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://cartocdn_{s}.global.ssl.fastly.net/base-eco/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '10'
2016-09-17 15:52:55 +08:00
name: 'CARTO World Eco'
2015-05-12 14:09:35 +08:00
className: 'eco_cartodb'
attribution: ''
flat_blue:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://cartocdn_{s}.global.ssl.fastly.net/base-flatblue/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '10'
2016-09-17 15:52:55 +08:00
name: 'CARTO World Flat Blue'
2015-05-12 14:09:35 +08:00
className: 'flat_blue'
attribution: ''
midnight_cartodb:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '10'
2016-09-17 15:52:55 +08:00
name: 'CARTO World Midnight Commander'
2015-05-12 14:09:35 +08:00
className: 'midnight_cartodb'
attribution: ''
2016-09-17 15:52:55 +08:00
antique_cartodb:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://cartocdn_{s}.global.ssl.fastly.net/base-antique/{z}/{x}/{y}.png'
2016-09-17 15:52:55 +08:00
subdomains: 'abcd'
minZoom: 0
maxZoom: 10
name: 'CARTO World Antique'
className: 'antique_cartodb'
attribution: ''
2015-05-12 14:09:35 +08:00
Stamen:
2016-02-08 04:59:11 +08:00
toner_stamen_labels:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png'
2016-02-08 04:59:11 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
name: 'Toner'
className: 'toner_stamen_labels'
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>.'
labels:
2018-04-05 04:23:54 +08:00
urlTemplate: 'http://{s}.tile.stamen.com/toner-labels/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
toner_stamen:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
subdomains: 'abcd'
minZoom: '0'
maxZoom: '18'
2016-02-08 04:59:11 +08:00
name: 'Toner (labels below)'
2015-05-12 14:09:35 +08:00
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:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
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:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
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:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lines/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
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:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-hybrid/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
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:
2018-04-05 04:23:54 +08:00
urlTemplate: 'https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png'
2015-05-12 14:09:35 +08:00
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>.'
2018-06-22 16:29:42 +08:00
GMaps:
roadmap:
name: 'GMaps Roadmap'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
className: 'googlemaps'
style: '[]'
default: true
hybrid:
name: 'GMaps Hybrid'
maxZoom: 40
minZoom: 0
baseType: 'hybrid'
className: 'googlemaps'
style: '[]'
satellite:
name: 'GMaps Satellite'
maxZoom: 40
minZoom: 0
baseType: 'satellite'
className: 'googlemaps'
style: '[]'
terrain:
name: 'GMaps Terrain'
maxZoom: 40
minZoom: 0
baseType: 'terrain'
className: 'googlemaps'
style: '[]'
gray_roadmap:
name: 'GMaps Gray Roadmap'
maxZoom: 40
minZoom: 0
baseType: 'gray_roadmap'
className: 'googlemaps'
style: '[{ "stylers": [ { "saturation": -100 } ] },{ "featureType": "water", "stylers": [ { "gamma": 1.67 }, { "lightness": 27 } ] },{ "elementType": "geometry", "stylers": [ { "gamma": 1.31 }, { "lightness": 12 } ] },{ "featureType": "administrative", "elementType": "labels", "stylers": [ { "lightness": 51 }, { "gamma": 0.94 } ] },{ },{ "featureType": "road", "elementType": "labels", "stylers": [ { "lightness": 57 } ] },{ "featureType": "poi", "elementType": "labels", "stylers": [ { "lightness": 42 } ] }]'
cool_grey:
name: 'GMaps cool grey'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'cool_grey'
className: 'googlemaps'
style: '[{"featureType":"landscape","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"water","stylers":[{"visibility":"on"},{"color":"#ffffff"}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"stylers":[{"hue":"#00aaff"},{"saturation":-100},{"gamma":2.15},{"lightness":12}]},{"featureType":"road","elementType":"labels.text.fill","stylers":[{"visibility":"on"},{"lightness":24}]},{"featureType":"road","elementType":"geometry","stylers":[{"lightness":57}]}]'
clean_grey:
name: 'GMaps clean grey'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'clean_grey'
className: 'googlemaps'
style: '[{"featureType":"administrative","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"administrative.country","elementType":"geometry.stroke","stylers":[{"visibility":"off"}]},{"featureType":"administrative.province","elementType":"geometry.stroke","stylers":[{"visibility":"off"}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"visibility":"on"},{"color":"#e3e3e3"}]},{"featureType":"landscape.natural","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"all","stylers":[{"color":"#cccccc"}]},{"featureType":"road","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"transit.line","elementType":"geometry","stylers":[{"visibility":"off"}]},{"featureType":"transit.line","elementType":"labels.text","stylers":[{"visibility":"off"}]},{"featureType":"transit.station.airport","elementType":"geometry","stylers":[{"visibility":"off"}]},{"featureType":"transit.station.airport","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#FFFFFF"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"off"}]}]'
shades_grey:
name: 'GMaps shades of grey'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'shades_grey'
className: 'googlemaps'
style: '[{"featureType":"all","elementType":"labels.text.fill","stylers":[{"saturation":36},{"color":"#000000"},{"lightness":40}]},{"featureType":"all","elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#000000"},{"lightness":16}]},{"featureType":"all","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#000000"},{"lightness":20}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#000000"},{"lightness":17},{"weight":1.2}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":20}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":21}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#000000"},{"lightness":17}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#000000"},{"lightness":29},{"weight":0.2}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":18}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":16}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":19}]},{"featureType":"water","elementType":"geometry","stylers":[{"color":"#000000"},{"lightness":17}]}]'
neutral_blue:
name: 'GMaps neutral blue'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'neutral_blue'
className: 'googlemaps'
style: '[{"featureType":"water","elementType":"geometry","stylers":[{"color":"#193341"}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#2c5a71"}]},{"featureType":"road","elementType":"geometry","stylers":[{"color":"#29768a"},{"lightness":-37}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#406d80"}]},{"featureType":"transit","elementType":"geometry","stylers":[{"color":"#406d80"}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"on"},{"color":"#3e606f"},{"weight":2},{"gamma":0.84}]},{"elementType":"labels.text.fill","stylers":[{"color":"#ffffff"}]},{"featureType":"administrative","elementType":"geometry","stylers":[{"weight":0.6},{"color":"#1a3541"}]},{"elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#2c5a71"}]}]'
cleaner_midnight:
name: 'GMaps cleaner midnight'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'cleaner_midnight'
className: 'googlemaps'
style: '[{"featureType":"all","elementType":"labels.text.fill","stylers":[{"color":"#ffffff"},{"weight":"0.20"},{"lightness":"28"},{"saturation":"23"},{"visibility":"off"}]},{"featureType":"all","elementType":"labels.text.stroke","stylers":[{"color":"#494949"},{"lightness":13},{"visibility":"off"}]},{"featureType":"all","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"administrative","elementType":"geometry.fill","stylers":[{"color":"#000000"}]},{"featureType":"administrative","elementType":"geometry.stroke","stylers":[{"color":"#144b53"},{"lightness":14},{"weight":1.4}]},{"featureType":"landscape","elementType":"all","stylers":[{"color":"#08304b"}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#0c4152"},{"lightness":5}]},{"featureType":"road.highway","elementType":"geometry.fill","stylers":[{"color":"#000000"}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"color":"#0b434f"},{"lightness":25}]},{"featureType":"road.arterial","elementType":"geometry.fill","stylers":[{"color":"#000000"}]},{"featureType":"road.arterial","elementType":"geometry.stroke","stylers":[{"color":"#0b3d51"},{"lightness":16}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#000000"}]},{"featureType":"transit","elementType":"all","stylers":[{"color":"#146474"}]},{"featureType":"water","elementType":"all","stylers":[{"color":"#021019"}]}]'
icy_blue:
name: 'GMaps icy blue'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'icy_blue'
className: 'googlemaps'
style: '[{"stylers":[{"hue":"#2c3e50"},{"saturation":250}]},{"featureType":"road","elementType":"geometry","stylers":[{"lightness":50},{"visibility":"simplified"}]},{"featureType":"road","elementType":"labels","stylers":[{"visibility":"off"}]}]'
red_hues:
name: 'GMaps red hues'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'red_hues'
className: 'googlemaps'
style: '[{"stylers":[{"hue":"#dd0d0d"}]},{"featureType":"road","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"geometry","stylers":[{"lightness":100},{"visibility":"simplified"}]}]'
light_green:
name: 'GMaps light green'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'light_green'
className: 'googlemaps'
style: '[{"stylers":[{"hue":"#baf4c4"},{"saturation":10}]},{"featureType":"water","stylers":[{"color":"#effefd"}]},{"featureType":"all","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"administrative","elementType":"labels","stylers":[{"visibility":"on"}]},{"featureType":"road","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"all","stylers":[{"visibility":"off"}]}]'
mostly_grayscale:
name: 'GMaps mostly grayscale'
maxZoom: 40
minZoom: 0
baseType: 'roadmap'
baseName: 'mostly_grayscale'
className: 'googlemaps'
style: '[{"featureType":"administrative","elementType":"all","stylers":[{"visibility":"on"},{"lightness":33}]},{"featureType":"administrative","elementType":"labels","stylers":[{"saturation":"-100"}]},{"featureType":"administrative","elementType":"labels.text","stylers":[{"gamma":"0.75"}]},{"featureType":"administrative.neighborhood","elementType":"labels.text.fill","stylers":[{"lightness":"-37"}]},{"featureType":"landscape","elementType":"geometry","stylers":[{"color":"#f9f9f9"}]},{"featureType":"landscape.man_made","elementType":"geometry","stylers":[{"saturation":"-100"},{"lightness":"40"},{"visibility":"off"}]},{"featureType":"landscape.natural","elementType":"labels.text.fill","stylers":[{"saturation":"-100"},{"lightness":"-37"}]},{"featureType":"landscape.natural","elementType":"labels.text.stroke","stylers":[{"saturation":"-100"},{"lightness":"100"},{"weight":"2"}]},{"featureType":"landscape.natural","elementType":"labels.icon","stylers":[{"saturation":"-100"}]},{"featureType":"poi","elementType":"geometry","stylers":[{"saturation":"-100"},{"lightness":"80"}]},{"featureType":"poi","elementType":"labels","stylers":[{"saturation":"-100"},{"lightness":"0"}]},{"featureType":"poi.attraction","elementType":"geometry","stylers":[{"lightness":"-4"},{"saturation":"-100"}]},{"featureType":"poi.park","elementType":"geometry","stylers":[{"color":"#c5dac6"},{"visibility":"on"},{"saturation":"-95"},{"lightness":"62"}]},{"featureType":"poi.park","elementType":"labels","stylers":[{"visibility":"on"},{"lightness":20}]},{"featureType":"road","elementType":"all","stylers":[{"lightness":20}]},{"featureType":"road","elementType":"labels","stylers":[{"saturation":"-100"},{"gamma":"1.00"}]},{"featureType":"road","elementType":"labels.text","stylers":[{"gamma":"0.50"}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"saturation":"-100"},{"gamma":"0.50"}]},{"featureType":"road.highway","elementType":"geometry","stylers":[{"color":"#c5c6c6"},{"saturation":"-100"}]},{"featureType":"road.highway","elementType":"geometry.stroke","stylers":[{"lightness":"-13"}]},{"featureType":"road.highway","elementType":"labels.icon","stylers":[{"lightness":"0"},{"gamma":"1.09"}]},{"featureType":"road.arterial","elementType":"geometry","stylers":[{"color":"#e4d7c6"},{"saturation":"-100"},{"lightness":"47"}]},{"featureType":"road.arterial","elementType":"geometry.stroke","stylers":[{"lightness":"-12"}]},{"featureType":"road.arterial","elementType":"labels.icon","stylers":[{"saturation":"-100"}]},{"featureType":"road.local","elementType":"geometry","stylers":[{"color":"#fbfaf7"},{"lightness":"77"}]},{"featureType":"road.local","elementType":"geometry.fill","stylers":[{"lightness":"-5"},{"saturation":"-100"}]},{"featureType":"road.local","elementType":"geometry.stroke","stylers":[{"saturation":"-100"},{"lightness":"-15"}]},{"featureType":"transit.station.airport","elementType":"geometry","stylers":[{"lightness":"47"},{"saturation":"-100"}]},{"featureType":"water","elementType":"all","stylers":[{"visibility":"on"},{"color":"#acbcc9"}]},{"featureType":"water","elementType":"geometry","stylers":[{"saturation":"53"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"lightness":"-42"},{"saturation":"17"}]},{"featureType":"water","elementType":"labels.text.stroke","stylers":[{"lightness":"61"}]}]'
2016-09-17 15:52:55 +08:00
overviews:
min_rows: 2000000
statement_timeout: 1800000
tolerance_px: 1.0
connectors:
odbc:
enabled: false
max_rows: nil
mysql:
enabled: true
max_rows: 500000
postgresql:
enabled: true
max_rows: 500000
hive:
enabled: false
max_rows: 500000
sqlserver:
enabled: false
max_rows: 500000
2018-04-05 04:23:54 +08:00
enforce_non_empty_layer_css: false
dataservices:
enabled:
geocoder_internal: true
hires_geocoder: false
isolines: false
routing: false
data_observatory: true
development:
<<: *defaults
#http_port: 3000
varnish_management:
critical: false
host: '127.0.0.1'
port: 6082
purge_command: 'purge'
url_purge_command: 'url.purge'
retries: 5
timeout: 5
test:
<<: *defaults
http_port: 53716
redis:
host: '127.0.0.1'
port: 6335
enforce_non_empty_layer_css: false
api_requests_es_service:
url: "http://api-calls-service.cartodb.localhost/search"
body: ""
2018-06-22 16:29:42 +08:00
session_domain: '.localhost.lan'
subdomainless_urls: false
staging:
<<: *defaults
production:
<<: *defaults