Skip to content

Instantly share code, notes, and snippets.

@mikaelz
Last active August 5, 2018 14:45
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 mikaelz/4ec1ed2c2b0d016e7c66e4403c37540d to your computer and use it in GitHub Desktop.
Save mikaelz/4ec1ed2c2b0d016e7c66e4403c37540d to your computer and use it in GitHub Desktop.
docker run --rm -l traefik -p 8080:8080 -p 80:80 \
-v $PWD/traefik.toml:/etc/traefik/traefik.toml \
-v /var/run/docker.sock:/var/run/docker.sock traefik
debug = true
[api]
entryPoint = 'traefik'
debug = true
[docker]
endpoint = 'unix:///var/run/docker.sock'
domain = 'docker.localhost'
watch = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment