This docker container provides a fully working cartodb development solution without the installation hassle.
Just run the commands and then connect to http://dev.cartodb.localhost:3000/login with your browser.
The default login is dev/pass1234. You may want to change it when you'll run making it available from the outside world.
It also creates an 'example' organization with owner login admin4example/pass1234. Organization members can be created on http://example.cartodb.localhost:3000/u/admin4example/organization
git clone https://github.com/geoplex/docker-cartodb
docker build -t="geoplex/docker-cartodb" docker-cartodb/
docker run -t -i -p 3000:3000 -p 8080:8080 -p 8181:8181 -v /home/develop/local-cartodb-data:/var/lib/postgresql/9.3/main geoplex/docker-cartodb
- On your host system you need to add
config/cartodb.nginx.proxy.conf
, found in this repository 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
/etc/hosts
file. - if you copy the content of
/var/lib/postgresql/9.3/main
to a local folder, which you mount while executingdocker run
you will get persistent data
Visit http://dev.cartodb.localhost or http://example.cartodb.localhost
Any organization member you create should also be added to your hosts file.