Created
November 30, 2018 14:55
-
-
Save McFateM/a008a99f25478cd6e73e463e769c7d75 to your computer and use it in GitHub Desktop.
Commands used to launch the 'Visualizing Abolition and Freedom' static site
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
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