Host in subdomain. Fixes WARNING: Can't verify CSRF token authenticity
error.
This commit is contained in:
parent
cf6bc86c6c
commit
40b37d6e6d
@ -4,7 +4,7 @@ docker-cartodb
|
||||
That container provides a fully working cartodb development solution
|
||||
without the installation hassle.
|
||||
|
||||
Just run and connect to locahost:3000 into you browser.
|
||||
Just run and connect to http://dev.cartodb.localhost:3000 into you browser.
|
||||
|
||||
The default login is dev/pass. You may want to change it when you'll run
|
||||
it for the outside.
|
||||
@ -24,5 +24,5 @@ How to run the container:
|
||||
docker run -t -i fleu42/docker-cartodb -p 3000:3000 /bin/bash
|
||||
```
|
||||
|
||||
You might need to add dev.localhost to your hosts file.
|
||||
You might need to add dev.cartodb.localhost to your hosts file.
|
||||
|
||||
|
@ -130,7 +130,7 @@ var config = {
|
||||
// The "domain" part will be appended to
|
||||
// the cartodb username and passed to
|
||||
// SQL-API requests in the Host HTTP header
|
||||
domain: 'localhost',
|
||||
domain: 'cartodb.localhost',
|
||||
version: 'v1',
|
||||
// Maximum lenght of SQL query for GET
|
||||
// requests. Longer queries will be sent
|
||||
|
@ -4,42 +4,42 @@ defaults: &defaults
|
||||
csv_guessing: false
|
||||
debug_assets: true
|
||||
mandatory_keys: [layer_opts, sql_api, varnish_management, redis, session_domain]
|
||||
session_domain: '.localhost'
|
||||
session_domain: '.cartodb.localhost'
|
||||
secret_token: '71c2b25921b84a1cb21c71503ab8fb23'
|
||||
account_host: 'localhost:3000'
|
||||
account_host: 'cartodb.localhost:3000'
|
||||
account_path: '/account'
|
||||
watcher:
|
||||
ttl: 60
|
||||
tiler:
|
||||
internal:
|
||||
protocol: 'http'
|
||||
domain: 'localhost'
|
||||
domain: 'cartodb.localhost'
|
||||
port: '8181'
|
||||
host: '127.0.0.1'
|
||||
verifycert: false
|
||||
private:
|
||||
protocol: 'http'
|
||||
domain: 'localhost'
|
||||
domain: 'cartodb.localhost'
|
||||
port: '8181'
|
||||
verifycert: false
|
||||
public:
|
||||
protocol: 'http'
|
||||
domain: 'localhost'
|
||||
domain: 'cartodb.localhost'
|
||||
port: '8181'
|
||||
verifycert: false
|
||||
sql_api:
|
||||
private:
|
||||
protocol: 'http'
|
||||
domain: 'localhost'
|
||||
domain: 'cartodb.localhost'
|
||||
endpoint: '/api/v1/sql'
|
||||
port: 8080
|
||||
public:
|
||||
protocol: 'http'
|
||||
domain: 'localhost'
|
||||
domain: 'cartodb.localhost'
|
||||
endpoint: '/api/v1/sql'
|
||||
port: 8080
|
||||
api_requests_service_url: ''
|
||||
developers_host: 'http://developers.localhost:3000'
|
||||
developers_host: 'http://developers.cartodb.localhost:3000'
|
||||
google_analytics:
|
||||
primary: ''
|
||||
embeds: ''
|
||||
@ -135,10 +135,10 @@ defaults: &defaults
|
||||
interactivity: "cartodb_id"
|
||||
debug: false
|
||||
visible: true
|
||||
tiler_domain: "localhost"
|
||||
tiler_domain: "cartodb.localhost"
|
||||
tiler_port: "8181"
|
||||
tiler_protocol: "http"
|
||||
sql_domain: "localhost"
|
||||
sql_domain: "cartodb.localhost"
|
||||
sql_port: "8080"
|
||||
sql_protocol: "http"
|
||||
extra_params: { cache_policy: 'persist' }
|
||||
@ -164,8 +164,8 @@ defaults: &defaults
|
||||
options:
|
||||
base_type: "roadmap"
|
||||
style: ""
|
||||
cartodb_com_hosted: true
|
||||
cartodb_central_domain_name: 'cartodb.com'
|
||||
cartodb_com_hosted: false
|
||||
cartodb_central_domain_name: 'cartodb.localhost'
|
||||
aws:
|
||||
s3:
|
||||
access_key_id: "test"
|
||||
@ -245,7 +245,7 @@ test:
|
||||
port: 6335
|
||||
enforce_non_empty_layer_css: false
|
||||
api_requests_es_service:
|
||||
url: "http://api-calls-service.localhost/search"
|
||||
url: "http://api-calls-service.cartodb.localhost/search"
|
||||
body: ""
|
||||
|
||||
staging:
|
||||
@ -253,3 +253,4 @@ staging:
|
||||
|
||||
production:
|
||||
<<: *defaults
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user