最新版
Go to file
2016-09-17 11:38:53 +02:00
config Merged changes of sample configs 2016-09-17 09:52:55 +02:00
cartodb_pgsql.sh Populate docker-cartodb with required files. 2014-11-15 16:32:19 +01:00
create_dev_user Initialize db and create user in 2 steps. 2016-03-25 18:36:22 +01:00
Dockerfile Tried to build Xenial, but throws error on login 2016-09-17 11:38:53 +02:00
LICENSE Initial commit 2014-11-14 10:59:55 +01:00
README.md Added badge + use same name for docker image as on docker hub. 2016-03-25 21:22:02 +01:00
setup_fdw.sh Example how to use foreign data wrapper in CartoDB. 2015-02-18 10:50:40 +01:00
setup_organization.sh Tried CARTO Builder, but disabled it again 2016-09-17 09:53:40 +02:00
startup.sh Put cartodb db services behind nginx. 2015-05-16 13:01:49 +02:00
template_postgis.sh Populate docker-cartodb with required files. 2014-11-15 16:32:19 +01:00

docker-cartodb

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

Just run the commands and then connect to http://cartodb.localhost with your you browser.

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

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

How to build the container:

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

How to run the container:

docker run -d -p 3000:3000 -p 8080:8080 -p 8181:8181 sverhoeven/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 also need to add cartodb.localhost alias to your hosts file. For example

sudo sh -c 'echo 127.0.1.1 cartodb.localhost >> /etc/hosts'