Last active
February 6, 2018 18:55
-
-
Save leodc/e79e8dd913025999efa8d15ecb34b1ed to your computer and use it in GitHub Desktop.
Guia de deploy de carto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://hub.docker.com/r/sverhoeven/cartodb/ | |
sudo docker pull sverhoeven/cartodb | |
# ip_publica | |
CARTO_HOST="138.68.253.242" | |
# puerto de salida del host | |
CARTO_PORT=80 | |
# agregamos cartodb.localhost como alias del localhost | |
# sudo sh -c 'echo 127.0.1.1 $CARTO_HOST >> /etc/hosts' | |
# iniciamos el docker | |
sudo docker run -d -p 80:$CARTO_PORT -h $CARTO_HOST sverhoeven/cartodb | |
# container url | |
echo "CARTO corriendo en -> $CARTO_HOST:$CARTO_PORT" | |
# en un navegador vamos a CARTO_HOST y podemos usar la interfaz de usuario para subir datos y generar mapas | |
# dev/pass1234 | |
# admin4example/pass1234 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment