Advertisement
Guest User

Untitled

a guest
Oct 18th, 2016
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.42 KB | None | 0 0
  1. defaults: &defaults
  2. # If uncommented, most images like static map previews and twitter card image urls will use this CDN urls
  3. #cdn_url:
  4. # http: "http.cdn.host"
  5. # https: "https.cdn.host"
  6. http_client_logs: true
  7. ogr2ogr:
  8. binary: 'which ogr2ogr2.1'
  9. csv_guessing: true
  10. debug_assets: true
  11. mandatory_keys: [layer_opts, sql_api, varnish_management, redis, session_domain]
  12. session_domain: '212.24.111.95'
  13. # If activated, urls will use usernames in format //SESSION_DOMAIN/user/USERNAME and ignore subdomains if present
  14. subdomainless_urls: true
  15. http_port: 3000 # nil|integer. HTTP port to use when building urls. Leave empty to use default (80)
  16. https_port: # nil|integer. HTTPS port to use when building urls. Leave empty to use default (443)
  17. secret_token: '71c2b25921b84a1cb21c71503ab8fb23'
  18. account_host: 'localhost.lan:3000'
  19. account_path: '/account'
  20. vizjson_cache_domains: ['.localhost.lan']
  21. data_library:
  22. username: 'common-data'
  23. path: '/data-library'
  24. disable_file: '~/disable'
  25. watcher:
  26. ttl: 60
  27. tiler:
  28. filter: 'mapnik'
  29. internal:
  30. protocol: 'http'
  31. domain: '212.24.111.95'
  32. port: '8181'
  33. host: '127.0.0.1'
  34. verifycert: false
  35. private:
  36. protocol: 'http'
  37. domain: '212.24.111.95'
  38. port: '8181'
  39. verifycert: false
  40. public:
  41. protocol: 'http'
  42. domain: '212.24.111.95'
  43. port: '8181'
  44. verifycert: false
  45. sql_api:
  46. private:
  47. protocol: 'http'
  48. domain: '212.24.111.95'
  49. endpoint: '/api/v1/sql'
  50. port: 8080
  51. public:
  52. protocol: 'http'
  53. domain: '212.24.111.95'
  54. endpoint: '/api/v2/sql'
  55. port: 8080
  56. api_requests_service_url: ''
  57. developers_host: 'http://developers.localhost.lan:3000'
  58. google_analytics:
  59. primary: ''
  60. embeds: ''
  61. domain: ''
  62. rollbar_api_key: ''
  63. tumblr:
  64. api_key: ''
  65. trackjs:
  66. enabled: false
  67. customer: ''
  68. app_keys:
  69. editor: ''
  70. embeds: ''
  71. facebook:
  72. app_id: ''
  73. admins: ''
  74. hubspot: ''
  75. segment:
  76. api_key:
  77. metrics:
  78. hubspot:
  79. events_host: 'http://track.hubspot.com'
  80. token: 'yourtoken'
  81. form_ids:
  82. newsletter: ''
  83. event_ids:
  84. import_failed: ''
  85. geocoding_failed: ''
  86. import_success: ''
  87. geocoding_success: ''
  88. published_visualization: ''
  89. visited_dashboard: ''
  90. connect_dataset: ''
  91. create_map: ''
  92. export_table: ''
  93. export_map: ''
  94. export_public_map: ''
  95. select_wms: ''
  96. color_basemap: ''
  97. pattern_basemap: ''
  98. geocoding: ''
  99. visual_merge: ''
  100. common_data: ''
  101. cartocss_manually: ''
  102. wizard: ''
  103. filter: ''
  104. query: ''
  105. mailing_track:
  106. like_map: ''
  107. trending_map: ''
  108. common_data:
  109. protocol: 'https'
  110. username: 'common-data'
  111. # base_url: 'https://common-data.carto.com'
  112. format: 'shp'
  113. generate_every: 86400
  114. explore_api:
  115. username: ''
  116. reports:
  117. mail_to: ''
  118. mailer:
  119. from: 'carto.com <support@carto.com>'
  120. address: ''
  121. port: ''
  122. user_name: ''
  123. password: ''
  124. authentication: ''
  125. enable_starttls_auto: ''
  126. varnish_management:
  127. critical: false
  128. host: '127.0.0.1'
  129. port: 6082
  130. purge_command: 'purge'
  131. retries: 5
  132. timeout: 5
  133. # 'warning' or 'error'
  134. trigger_verbose: true
  135. invalidation_service:
  136. enabled: false
  137. host: '127.0.0.1'
  138. port: 3142
  139. retries: 5 # number of retries before considering failure
  140. critical: false # either the failure is considered an error or a warning
  141. timeout: 5 # socket timeout
  142. trigger_verbose: true
  143. redis:
  144. host: '127.0.0.1'
  145. port: 6379
  146. connect_timeout: 2
  147. read_timeout: 3
  148. write_timeout: 5
  149. databases:
  150. tables_metadata: 0
  151. api_credentials: 3
  152. users_metadata: 5
  153. redis_migrator_logs: 6
  154. org_metadata_api:
  155. host: 'localhost.lan'
  156. port: '3000'
  157. username: "extension"
  158. password: "elephant"
  159. timeout: 10
  160. superadmin:
  161. username: "superadmin"
  162. password: "monkey"
  163. geocoder:
  164. #force_batch: true
  165. #disable_cache: true
  166. app_id: ''
  167. token: ''
  168. mailto: ''
  169. base_url: ''
  170. non_batch_base_url: ''
  171. internal:
  172. username: ''
  173. api_key: ''
  174. cache:
  175. base_url: ''
  176. api_key: ''
  177. table_name: ''
  178. user_migrator:
  179. user_exports_folder: '/tmp/user_exports'
  180. user_imports_folder: '/tmp/user_imports'
  181. s3:
  182. access_key_id: ''
  183. secret_access_key: ''
  184. bucket_name: ''
  185. url_ttl: 7200
  186. async_long_uploads: false
  187. uploads_path: 'public/uploads'
  188. exporter:
  189. exporter_temporal_folder: '/tmp/exporter'
  190. s3:
  191. access_key_id: ''
  192. secret_access_key: ''
  193. bucket_name: ''
  194. url_ttl: 7200
  195. async_long_uploads: false
  196. uploads_path: 'public/uploads' # including 'uploads' assumes public path. Absolute path example: /tmp/exports/downloads
  197. importer:
  198. blacklisted_ip_addr: []
  199. content_guessing: # Depends on geocoding
  200. enabled: false # Disabled if false or not present
  201. threshold: 0.9 # 90% or more matches
  202. minimum_entropy: 0.9 # Normalized entropy, between 0.0 and 1.0. See http://en.wikipedia.org/wiki/Entropy_(information_theory)
  203. sample_size: 400 # +-5% error. See http://en.wikipedia.org/wiki/Sample_size_determination#Estimating_proportions_and_means
  204. s3:
  205. access_key_id:
  206. secret_access_key:
  207. bucket_name:
  208. url_ttl:
  209. async_long_uploads: false
  210. proxy_uri:
  211. use_ssl: True
  212.  
  213. unp_temporal_folder: '/tmp/imports/'
  214. # It must end in `/uploads` and be accessible via HTTP, if relative will default to Rails.Root/#{uploads_path}
  215. uploads_path: 'public/uploads'
  216. error_track:
  217. url: 'https://viz2.carto.com/api/v1/sql'
  218. percent_users: 10
  219. # graphite endpoint used to post frontend stats
  220. graphite_public:
  221. host: ""
  222. port:
  223. layer_opts:
  224. public_opts: ["type", "active", "query", "opacity", "auto_bound",
  225. "interactivity", "debug", "visible", "tiler_domain",
  226. "tiler_port", "tiler_protocol", "sql_domain", "sql_port",
  227. "sql_protocol", "extra_params", "table_name",
  228. "user_name", "style_version", "tile_style", "query_wrapper"]
  229. default_tile_styles:
  230. 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}"
  231. 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 }"
  232. polygon: "{\n polygon-fill:#FF6600;\n polygon-opacity: 0.7;\n line-opacity:1;\n line-color: #FFFFFF;\n}"
  233. multipolygon: "{\n polygon-fill:#FF6600;\n polygon-opacity: 0.7;\n line-opacity:1;\n line-color: #FFFFFF;\n}"
  234. multilinestring: "{\n line-color:#FF6600;\n line-width:1;\n line-opacity: 0.7;\n}"
  235. data:
  236. kind: "carto"
  237. options:
  238. # attribution: 'CARTO attribution'
  239. query: ""
  240. opacity: 0.99
  241. auto_bound: false
  242. interactivity: "cartodb_id"
  243. debug: false
  244. visible: true
  245. tiler_domain: "localhost.lan"
  246. tiler_port: "80"
  247. tiler_protocol: "http"
  248. sql_domain: "localhost.lan"
  249. sql_port: "80"
  250. sql_protocol: "http"
  251. extra_params: { cache_policy: 'persist' }
  252. tile_style_history: []
  253. style_version: "2.1.1"
  254. infowindow:
  255. template_name: "table/views/infowindow_light"
  256. background:
  257. kind: "background"
  258. options: { color: '#ffffff' }
  259. cartodb_com_hosted: true
  260. cartodb_central_domain_name: 'carto.com'
  261. #aws:
  262. #s3:
  263. # access_key_id: "test"
  264. # secret_access_key: "test"
  265. assets:
  266. # s3_bucket_name: "tests"
  267. max_file_size: 5242880 # 5.megabytes
  268. app_assets:
  269. asset_host: "//cartodb-libs.global.ssl.fastly.net/cartodbui"
  270. avatars:
  271. base_url: '/assets/unversioned/images/avatars/'
  272. kinds: ['ghost']
  273. colors: ['red', 'blue']
  274. dropbox_api_key: ""
  275. gdrive:
  276. api_key: ""
  277. app_id: ""
  278. # This enables a support chat within editor
  279. # 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.
  280. olark:
  281. app_id: ''
  282. enforce_non_empty_layer_css: true
  283. users_dumps:
  284. service:
  285. port: 00000
  286. http_header_authentication:
  287. header: # name of the trusted, safe header that your server adds to the request
  288. field: # 'email' / 'username' / 'id' / 'auto' (autodetection)
  289. autocreation: # true / false (true requires field to be email)
  290. oauth:
  291. # If the client_id/app_key is not set won't appear at the UI. @see application_helper.rb -> frontend_config
  292. # Must be the same as CartoDB::Datasources::xxxx DATASOURCE_NAME constants
  293. gdrive:
  294. application_name: ''
  295. client_id: ''
  296. client_secret: ''
  297. callback_url: 'https://carto.com'
  298. # google_plus:
  299. # client_id: ''
  300. # cookie_policy: 'single_host_origin'
  301. # cookie_policy: 'https://cartodb-staging.com'
  302. github:
  303. client_id: ''
  304. client_secret: ''
  305. dropbox:
  306. app_key: ''
  307. app_secret: ''
  308. callback_url: ''
  309. box:
  310. application_name: ''
  311. client_id: ''
  312. client_secret: ''
  313. box_host: "app.box.com"
  314. instagram:
  315. app_key: ''
  316. app_secret: ''
  317. callback_url: ''
  318. # Mailchimp datasource. Setup at https://admin.mailchimp.com/account/oauth2/ then fill here.
  319. # If fields are present but empty, option won't appear at editor import window
  320. mailchimp:
  321. app_key: ''
  322. app_secret: ''
  323. callback_url: ''
  324. datasource_search:
  325. # Must be the same as CartoDB::Datasources::xxxx DATASOURCE_NAME constants
  326. twitter_search:
  327. standard:
  328. auth_required: false
  329. username: ''
  330. password: ''
  331. search_url: 'http://fake.url.nil'
  332. ratelimit_active: true
  333. ratelimit_concurrency: 8
  334. ratelimit_ttl: 4
  335. ratelimit_wait_secs: 0.5
  336. customized_user_list: []
  337. customized_orgs_list: []
  338. entity_to_config_map: [] # { user_or_org_name: 'custom_config_name'}
  339. customized:
  340. custom1:
  341. auth_required: false
  342. username: ''
  343. password: ''
  344. search_url: 'http://fake.url.nil'
  345. ratelimit_active: false
  346. ratelimit_concurrency: 3
  347. ratelimit_ttl: 4
  348. ratelimit_wait_secs: 0.1
  349. basemaps:
  350. CARTO:
  351. positron_rainbow_labels:
  352. default: true
  353. url: 'http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png'
  354. subdomains: 'abcd'
  355. minZoom: '0'
  356. maxZoom: '18'
  357. name: 'Positron'
  358. className: 'positron_rainbow_labels'
  359. attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
  360. labels:
  361. url: 'http://{s}.basemaps.cartocdn.com/light_only_labels/{z}/{x}/{y}.png'
  362. dark_matter_rainbow_labels:
  363. url: 'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png'
  364. subdomains: 'abcd'
  365. minZoom: '0'
  366. maxZoom: '18'
  367. name: 'Dark matter'
  368. className: 'dark_matter_rainbow_labels'
  369. attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
  370. labels:
  371. url: 'http://{s}.basemaps.cartocdn.com/dark_only_labels/{z}/{x}/{y}.png'
  372. positron_rainbow:
  373. url: 'http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png'
  374. subdomains: 'abcd'
  375. minZoom: '0'
  376. maxZoom: '18'
  377. name: 'Positron (labels below)'
  378. className: 'positron_rainbow'
  379. attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
  380. dark_matter_rainbow:
  381. url: 'http://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png'
  382. subdomains: 'abcd'
  383. minZoom: '0'
  384. maxZoom: '18'
  385. name: 'Dark matter (labels below)'
  386. className: 'dark_matter_rainbow'
  387. attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
  388. positron_lite_rainbow:
  389. url: 'http://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}.png'
  390. subdomains: 'abcd'
  391. minZoom: '0'
  392. maxZoom: '18'
  393. name: 'Positron (lite)'
  394. className: 'positron_lite_rainbow'
  395. attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
  396. dark_matter_lite_rainbow:
  397. url: 'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png'
  398. subdomains: 'abcd'
  399. minZoom: '0'
  400. maxZoom: '18'
  401. name: 'Dark matter (lite)'
  402. className: 'dark_matter_lite_rainbow'
  403. attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>'
  404. eco_cartodb:
  405. url: 'https://cartocdn_{s}.global.ssl.fastly.net/base-antique/{z}/{x}/{y}.png'
  406. subdomains: 'abcd'
  407. minZoom: '0'
  408. maxZoom: '10'
  409. name: 'CARTO World Eco'
  410. className: 'eco_cartodb'
  411. attribution: ''
  412. flat_blue:
  413. url: 'https://cartocdn_{s}.global.ssl.fastly.net/base-flatblue/{z}/{x}/{y}.png'
  414. subdomains: 'abcd'
  415. minZoom: '0'
  416. maxZoom: '10'
  417. name: 'CARTO World Flat Blue'
  418. className: 'flat_blue'
  419. attribution: ''
  420. midnight_cartodb:
  421. url: 'https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}.png'
  422. subdomains: 'abcd'
  423. minZoom: '0'
  424. maxZoom: '10'
  425. name: 'CARTO World Midnight Commander'
  426. className: 'midnight_cartodb'
  427. attribution: ''
  428. antique_cartodb:
  429. url: 'https://cartocdn_{s}.global.ssl.fastly.net/base-antique/{z}/{x}/{y}.png'
  430. subdomains: 'abcd'
  431. minZoom: 0
  432. maxZoom: 10
  433. name: 'CARTO World Antique'
  434. className: 'antique_cartodb'
  435. attribution: ''
  436. Stamen:
  437. toner_stamen_labels:
  438. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png'
  439. subdomains: 'abcd'
  440. minZoom: '0'
  441. maxZoom: '18'
  442. name: 'Toner'
  443. className: 'toner_stamen_labels'
  444. 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>.'
  445. labels:
  446. url: 'http://{s}.tile.stamen.com/toner-labels/{z}/{x}/{y}.png'
  447. toner_stamen:
  448. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png'
  449. subdomains: 'abcd'
  450. minZoom: '0'
  451. maxZoom: '18'
  452. name: 'Toner (labels below)'
  453. className: 'toner_stamen'
  454. 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>.'
  455. toner_background_stamen:
  456. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-background/{z}/{x}/{y}.png'
  457. subdomains: 'abcd'
  458. minZoom: '0'
  459. maxZoom: '18'
  460. name: 'Toner Background'
  461. className: 'toner_background_stamen'
  462. 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>.'
  463. toner_lite_stamen:
  464. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}.png'
  465. subdomains: 'abcd'
  466. minZoom: '0'
  467. maxZoom: '18'
  468. name: 'Toner Lite'
  469. className: 'toner_lite_stamen'
  470. 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>.'
  471. toner_lines_stamen:
  472. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lines/{z}/{x}/{y}.png'
  473. subdomains: 'abcd'
  474. minZoom: '0'
  475. maxZoom: '18'
  476. name: 'Toner Lines'
  477. className: 'toner_lines_stamen'
  478. 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>.'
  479. toner_hybrid_stamen:
  480. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-hybrid/{z}/{x}/{y}.png'
  481. subdomains: 'abcd'
  482. minZoom: '0'
  483. maxZoom: '18'
  484. name: 'Toner Hybrid'
  485. className: 'toner_hybrid_stamen'
  486. 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>.'
  487. watercolor_stamen:
  488. url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png'
  489. subdomains: 'abcd'
  490. minZoom: '0'
  491. maxZoom: '18'
  492. name: 'Watercolor'
  493. className: 'watercolor_stamen'
  494. 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>.'
  495. overviews:
  496. min_rows: 2000000
  497. statement_timeout: 1800000
  498. tolerance_px: 1.0
  499. connectors:
  500. odbc:
  501. enabled: false
  502. max_rows: nil
  503. mysql:
  504. enabled: true
  505. max_rows: 500000
  506. postgresql:
  507. enabled: true
  508. max_rows: 500000
  509. hive:
  510. enabled: false
  511. max_rows: 500000
  512. sqlserver:
  513. enabled: false
  514. max_rows: 500000
  515.  
  516. development:
  517. <<: *defaults
  518. http_port: 3000
  519. varnish_management:
  520. critical: false
  521. host: ''
  522. port: 6082
  523. purge_command: 'purge'
  524. url_purge_command: 'url.purge'
  525. retries: 5
  526. timeout: 5
  527. enforce_non_empty_layer_css: false
  528.  
  529. test:
  530. <<: *defaults
  531. http_port: 53716
  532. redis:
  533. host: ''
  534. port: 6335
  535. enforce_non_empty_layer_css: false
  536. api_requests_es_service:
  537. url: "http://api-calls-service.localhost.lan/search"
  538. body: ""
  539.  
  540. staging:
  541. <<: *defaults
  542.  
  543. production:
  544. <<: *defaults
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement