最新版
Go to file
Stefan Verhoeven 4b6ca0fdad Merge pull request #5 from sriramster/master
Fix unreachable RVM url
2017-07-01 15:16:23 +00:00
config Use -h to specify hostname + disabled hubspot + fix missing locales from upstream 2017-04-13 21:14:05 +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 Fix, npm and node version dependency 2017-06-24 22:48:06 +05:30
fill_geocoder.sh Added untested script to fill geocoder 2017-04-03 22:55:37 +02:00
LICENSE Initial commit 2014-11-14 10:59:55 +01:00
README.md Use -h to specify hostname + disabled hubspot + fix missing locales from upstream 2017-04-13 21:14:05 +02:00
setup_fdw.sh Example how to use foreign data wrapper in CartoDB. 2015-02-18 10:50:40 +01:00
setup_organization.sh Increase organization quota to 5Gb 2017-04-03 22:44:25 +02:00
startup.sh Use -h to specify hostname + disabled hubspot + fix missing locales from upstream 2017-04-13 21:14:05 +02:00
template_postgis.sh Added crankshaft extension to PostgreSQL template 2017-04-04 21:13:53 +02: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 80:80 -h cartodb.localhost sverhoeven/cartodb

The CartoDB instance has been configured with the hostname cartodb.localhost, this means the web browser and web server need to be able to resolve cartodb.localhost to an IP adress of the machine where the web server is running. This can be done by adding cartodb.localhost alias to your hosts file. For example

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

(For Windows it will be C:\Windows\System32\drivers\etc\hosts)

How to use a different hostname:

For example to use cartodb.example.com as a hostname start with:

docker run -d -p 80:80 -h cartodb.example.com sverhoeven/cartodb

The chosen hostname should also resolve to an IP adress of the machine where the web server is running.