Skip to content

Instantly share code, notes, and snippets.

@McFateM
Created November 30, 2018 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save McFateM/a008a99f25478cd6e73e463e769c7d75 to your computer and use it in GitHub Desktop.
Save McFateM/a008a99f25478cd6e73e463e769c7d75 to your computer and use it in GitHub Desktop.
Commands used to launch the 'Visualizing Abolition and Freedom' static site
NAME=vaf
HOST=static.grinnell.edu
IMAGE="mcfatem/vaf"
docker container run -d --name ${NAME} \
--label traefik.backend=${NAME} \
--label traefik.docker.network=traefik_webgateway \
--label "traefik.frontend.rule=Host:${HOST};PathPrefixStrip:/vaf" \
--label traefik.port=80 \
--label com.centurylinklabs.watchtower.enable=true \
--network traefik_webgateway \
--restart always \
${IMAGE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment