From 588d5f88cad29db276b1b0aceed553edab4a895c Mon Sep 17 00:00:00 2001 From: zhongjin Date: Fri, 24 May 2024 00:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'config/app=5Fconfig.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app_config.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/config/app_config.yml b/config/app_config.yml index f204a45..f2116f3 100644 --- a/config/app_config.yml +++ b/config/app_config.yml @@ -10,7 +10,7 @@ defaults: &defaults memory_limit: debug_assets: true mandatory_keys: [layer_opts, sql_api, varnish_management, redis, session_domain] - session_domain: '.localhost.lan' + session_domain: 'cartodb.localhost' # If activated, urls will use usernames in format //SESSION_DOMAIN/user/USERNAME and ignore subdomains if present subdomainless_urls: false http_port: 3000 # nil|integer. HTTP port to use when building urls. Leave empty to use default (80) @@ -22,7 +22,7 @@ defaults: &defaults secret_key_base: '65903fa751affcdd71a9eb09308bcb404c50c8df03414db849ea22fbe8d4aae9ff344f6594630eb9c8367b4fd8ed2211d0342a49df473dccc27ae0be120b25ab' # It's recommended to generate a new password_secret (pepper for password encryption) for each installation using `bundle exec rake secret` password_secret: 'cc914bbbfa1d7156ec1424260d3a3214f3d1720aae872c1a5887f918929d0fec6f048d708f1ca79b4e43d20b4b623726e656917c9b8f2de0ea6c18e2ee80ce89' - account_host: 'localhost.lan:3000' + account_host: 'cartodb.localhost:3000' # Here you can define other hosts different to account_host that also will be CORS enabled # cors_enabled_hosts: # - example.com @@ -40,33 +40,33 @@ defaults: &defaults filter: 'mapnik' internal: protocol: 'http' - domain: 'localhost.lan' + domain: 'cartodb.localhost' port: '8181' host: '127.0.0.1' verifycert: false private: protocol: 'http' - domain: 'localhost.lan' + domain: 'cartodb.localhost' port: '8181' verifycert: false public: protocol: 'http' - domain: 'localhost.lan' + domain: 'cartodb.localhost' port: '8181' verifycert: false sql_api: private: protocol: 'http' - domain: 'localhost.lan' + domain: 'cartodb.localhost' endpoint: '/api/v1/sql' port: 8080 public: protocol: 'http' - domain: 'localhost.lan' + domain: 'cartodb.localhost' endpoint: '/api/v2/sql' port: 8080 api_requests_service_url: '' - developers_host: 'http://developers.localhost.lan:3000' + developers_host: 'http://developers.cartodb.localhost:3000' google_analytics: primary: '' embeds: '' @@ -162,7 +162,7 @@ defaults: &defaults reports: mail_to: '' mailer: - from: 'carto.com ' + from: 'cartodb.localhost ' address: '' port: '' user_name: '' @@ -320,10 +320,10 @@ defaults: &defaults interactivity: "cartodb_id" debug: false visible: true - tiler_domain: "localhost.lan" + tiler_domain: "cartodb.localhost" tiler_port: "80" tiler_protocol: "http" - sql_domain: "localhost.lan" + sql_domain: "cartodb.localhost" sql_port: "80" sql_protocol: "http" extra_params: { cache_policy: 'persist' } @@ -335,7 +335,7 @@ defaults: &defaults kind: "background" options: { color: '#ffffff' } cartodb_com_hosted: true - cartodb_central_domain_name: 'carto.com' + cartodb_central_domain_name: 'cartodb.localhost' #aws: #s3: #access_key_id: "test" @@ -356,7 +356,7 @@ defaults: &defaults # max_size_in_bytes: 1048576 # Optional, default is 1 MB # location: 'html_assets' # Optional subdirectory for local assets, default is 'html_assets' app_assets: - asset_host: "//cartodb-libs.global.ssl.fastly.net/cartodbui" + asset_host: "//cartodb.localhost" avatars: gravatar_enabled: true base_url: '/assets/unversioned/images/avatars' @@ -838,7 +838,7 @@ test: port: 6335 enforce_non_empty_layer_css: false api_requests_es_service: - url: "http://api-calls-service.localhost.lan/search" + url: "http://api-calls-service.cartodb.localhost/search" body: "" session_domain: '.localhost.lan' subdomainless_urls: false