21cc7911c1
Here I commit all the required files for a development cartodb container to be successfully build and run with Docker.
256 lines
7.9 KiB
YAML
256 lines
7.9 KiB
YAML
defaults: &defaults
|
||
ogr2ogr:
|
||
binary: 'which ogr2ogr'
|
||
csv_guessing: false
|
||
debug_assets: true
|
||
mandatory_keys: [layer_opts, sql_api, varnish_management, redis, session_domain]
|
||
session_domain: '.localhost'
|
||
secret_token: '71c2b25921b84a1cb21c71503ab8fb23'
|
||
account_host: 'localhost:3000'
|
||
account_path: '/account'
|
||
watcher:
|
||
ttl: 60
|
||
tiler:
|
||
internal:
|
||
protocol: 'http'
|
||
domain: 'localhost'
|
||
port: '8181'
|
||
host: '127.0.0.1'
|
||
verifycert: false
|
||
private:
|
||
protocol: 'http'
|
||
domain: 'localhost'
|
||
port: '8181'
|
||
verifycert: false
|
||
public:
|
||
protocol: 'http'
|
||
domain: 'localhost'
|
||
port: '8181'
|
||
verifycert: false
|
||
sql_api:
|
||
private:
|
||
protocol: 'http'
|
||
domain: 'localhost'
|
||
endpoint: '/api/v1/sql'
|
||
port: 8080
|
||
public:
|
||
protocol: 'http'
|
||
domain: 'localhost'
|
||
endpoint: '/api/v1/sql'
|
||
port: 8080
|
||
api_requests_service_url: ''
|
||
developers_host: 'http://developers.localhost:3000'
|
||
google_analytics:
|
||
primary: ''
|
||
embeds: ''
|
||
domain: ''
|
||
rollbar:
|
||
token: ''
|
||
tumblr:
|
||
api_key: ''
|
||
trackjs:
|
||
customer: ''
|
||
common_data:
|
||
protocol: 'https'
|
||
username: ''
|
||
host: ''
|
||
api_key: ''
|
||
format: 'shp'
|
||
generate_every: 86400
|
||
s3_bucket_name: ''
|
||
common_data:
|
||
username: ''
|
||
api_key: ''
|
||
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:
|
||
s3:
|
||
access_key_id:
|
||
secret_access_key:
|
||
bucket_name:
|
||
url_ttl:
|
||
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:
|
||
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",
|
||
"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
|
||
tiler_domain: "localhost"
|
||
tiler_port: "8181"
|
||
tiler_protocol: "http"
|
||
sql_domain: "localhost"
|
||
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: ""
|
||
cartodb_com_hosted: true
|
||
cartodb_central_domain_name: 'cartodb.com'
|
||
aws:
|
||
s3:
|
||
access_key_id: "test"
|
||
secret_access_key: "test"
|
||
assets:
|
||
s3_bucket_name: "tests"
|
||
max_file_size: 5242880 # 5.megabytes
|
||
app_assets:
|
||
asset_host: "//cartodb-libs.global.ssl.fastly.net/cartodbui"
|
||
avatars:
|
||
base_url: 'example.com/avatars'
|
||
kinds: ['stars', 'mountains']
|
||
colors: ['red', 'blue']
|
||
dropbox_api_key: ""
|
||
gdrive:
|
||
api_key: ""
|
||
app_id: ""
|
||
enforce_non_empty_layer_css: true
|
||
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'
|
||
dropbox:
|
||
app_key: ''
|
||
app_secret: ''
|
||
callback_url: ''
|
||
instagram:
|
||
app_key: ''
|
||
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
|
||
|
||
development:
|
||
<<: *defaults
|
||
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
|
||
redis:
|
||
host: '127.0.0.1'
|
||
port: 6335
|
||
enforce_non_empty_layer_css: false
|
||
api_requests_es_service:
|
||
url: "http://api-calls-service.localhost/search"
|
||
body: ""
|
||
|
||
staging:
|
||
<<: *defaults
|
||
|
||
production:
|
||
<<: *defaults
|