bbf2c54325
* Use Varnish 3 from source tarball, newer and OS Varnish could not disable telnet authentication required by Carto * Remove sources of varnish, gdal, /cartodb/.git when no longer needed in order to make image smaller * Dropped Nokia and GMAP basemaps, they did not work * Dropped schema trigger installation, it is no longer needed * Configure Carto in Python and NodeJS * Build assets * Use self as asset_host, assets are hosted by nginx instead of rails |
||
---|---|---|
config | ||
cartodb_pgsql.sh | ||
create_dev_user | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
setup_fdw.sh | ||
setup_organization.sh | ||
startup.sh | ||
template_postgis.sh |
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 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
as 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
)