更新 'config/app_config.yml'

main
zhongjin 4 months ago
parent 11e99e62f3
commit 588d5f88ca

@ -10,7 +10,7 @@ defaults: &defaults
memory_limit: memory_limit:
debug_assets: true debug_assets: true
mandatory_keys: [layer_opts, sql_api, varnish_management, redis, session_domain] 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 # If activated, urls will use usernames in format //SESSION_DOMAIN/user/USERNAME and ignore subdomains if present
subdomainless_urls: false subdomainless_urls: false
http_port: 3000 # nil|integer. HTTP port to use when building urls. Leave empty to use default (80) 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' 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` # It's recommended to generate a new password_secret (pepper for password encryption) for each installation using `bundle exec rake secret`
password_secret: 'cc914bbbfa1d7156ec1424260d3a3214f3d1720aae872c1a5887f918929d0fec6f048d708f1ca79b4e43d20b4b623726e656917c9b8f2de0ea6c18e2ee80ce89' 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 # Here you can define other hosts different to account_host that also will be CORS enabled
# cors_enabled_hosts: # cors_enabled_hosts:
# - example.com # - example.com
@ -40,33 +40,33 @@ defaults: &defaults
filter: 'mapnik' filter: 'mapnik'
internal: internal:
protocol: 'http' protocol: 'http'
domain: 'localhost.lan' domain: 'cartodb.localhost'
port: '8181' port: '8181'
host: '127.0.0.1' host: '127.0.0.1'
verifycert: false verifycert: false
private: private:
protocol: 'http' protocol: 'http'
domain: 'localhost.lan' domain: 'cartodb.localhost'
port: '8181' port: '8181'
verifycert: false verifycert: false
public: public:
protocol: 'http' protocol: 'http'
domain: 'localhost.lan' domain: 'cartodb.localhost'
port: '8181' port: '8181'
verifycert: false verifycert: false
sql_api: sql_api:
private: private:
protocol: 'http' protocol: 'http'
domain: 'localhost.lan' domain: 'cartodb.localhost'
endpoint: '/api/v1/sql' endpoint: '/api/v1/sql'
port: 8080 port: 8080
public: public:
protocol: 'http' protocol: 'http'
domain: 'localhost.lan' domain: 'cartodb.localhost'
endpoint: '/api/v2/sql' endpoint: '/api/v2/sql'
port: 8080 port: 8080
api_requests_service_url: '' api_requests_service_url: ''
developers_host: 'http://developers.localhost.lan:3000' developers_host: 'http://developers.cartodb.localhost:3000'
google_analytics: google_analytics:
primary: '' primary: ''
embeds: '' embeds: ''
@ -162,7 +162,7 @@ defaults: &defaults
reports: reports:
mail_to: '' mail_to: ''
mailer: mailer:
from: 'carto.com <support@carto.com>' from: 'cartodb.localhost <support@cartodb.localhost>'
address: '' address: ''
port: '' port: ''
user_name: '' user_name: ''
@ -320,10 +320,10 @@ defaults: &defaults
interactivity: "cartodb_id" interactivity: "cartodb_id"
debug: false debug: false
visible: true visible: true
tiler_domain: "localhost.lan" tiler_domain: "cartodb.localhost"
tiler_port: "80" tiler_port: "80"
tiler_protocol: "http" tiler_protocol: "http"
sql_domain: "localhost.lan" sql_domain: "cartodb.localhost"
sql_port: "80" sql_port: "80"
sql_protocol: "http" sql_protocol: "http"
extra_params: { cache_policy: 'persist' } extra_params: { cache_policy: 'persist' }
@ -335,7 +335,7 @@ defaults: &defaults
kind: "background" kind: "background"
options: { color: '#ffffff' } options: { color: '#ffffff' }
cartodb_com_hosted: true cartodb_com_hosted: true
cartodb_central_domain_name: 'carto.com' cartodb_central_domain_name: 'cartodb.localhost'
#aws: #aws:
#s3: #s3:
#access_key_id: "test" #access_key_id: "test"
@ -356,7 +356,7 @@ defaults: &defaults
# max_size_in_bytes: 1048576 # Optional, default is 1 MB # max_size_in_bytes: 1048576 # Optional, default is 1 MB
# location: 'html_assets' # Optional subdirectory for local assets, default is 'html_assets' # location: 'html_assets' # Optional subdirectory for local assets, default is 'html_assets'
app_assets: app_assets:
asset_host: "//cartodb-libs.global.ssl.fastly.net/cartodbui" asset_host: "//cartodb.localhost"
avatars: avatars:
gravatar_enabled: true gravatar_enabled: true
base_url: '/assets/unversioned/images/avatars' base_url: '/assets/unversioned/images/avatars'
@ -838,7 +838,7 @@ test:
port: 6335 port: 6335
enforce_non_empty_layer_css: false enforce_non_empty_layer_css: false
api_requests_es_service: api_requests_es_service:
url: "http://api-calls-service.localhost.lan/search" url: "http://api-calls-service.cartodb.localhost/search"
body: "" body: ""
session_domain: '.localhost.lan' session_domain: '.localhost.lan'
subdomainless_urls: false subdomainless_urls: false

Loading…
Cancel
Save