最新版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Stefan Verhoeven d7ab8b6dac
Put cartodb db services behind nginx.
9 years ago
config Put cartodb db services behind nginx. 9 years ago
Dockerfile Merge remote-tracking branch 'origin/fixlogin' into fixlogin 9 years ago
LICENSE Initial commit 10 years ago
README.md Put cartodb db services behind nginx. 9 years ago
cartodb_pgsql.sh Populate docker-cartodb with required files. 10 years ago
create_dev_user Dev passwords must be longer than or equal to 6 chars. 9 years ago
setup_fdw.sh Example how to use foreign data wrapper in CartoDB. 10 years ago
setup_organization.sh Dev passwords must be longer than or equal to 6 chars. 9 years ago
startup.sh Put cartodb db services behind nginx. 9 years ago
template_postgis.sh Populate docker-cartodb with required files. 10 years ago

README.md

docker-cartodb

That container provides a fully working cartodb development solution without the installation hassle.

Just run and connect to http://dev.cartodb.localhost:3000/login into you browser.

The default login is dev/pass. You may want to change it when you'll run it for the outside.

It also creates an 'example' organization with owner login admin4example/pass. Organization members can be created on http://example.cartodb.localhost:3000/u/admin4example/organization

How to build the container:

git clone https://github.com/fleu42/docker-cartodb.git
docker build -t="fleu42/docker-cartodb" docker-cartodb/

How to run the container:

docker run -t -i -p 3000:3000 -p 8080:8080 -p 8181:8181 fleu42/docker-cartodb 

You need to add config/cartodb.nginx.proxy.conf to /etc/nginx/conf.d/. This will setup a reverse proxy for the CartoDB/imports (3000), SQL Api (8080) and Map api (8181).

You need to add cartodb.localhost, dev.cartodb.localhost and example.cartodb.localhost to your hosts file.

Visit http://dev.cartodb.localhost or http://example.cartodb.localhost

Any organization member you create should also be added to your hosts file.