Skip to content

Instantly share code, notes, and snippets.

@nielsutrecht
Created February 11, 2017 10:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nielsutrecht/0ab44b2015653762731a66abddd6fb8a to your computer and use it in GitHub Desktop.
Save nielsutrecht/0ab44b2015653762731a66abddd6fb8a to your computer and use it in GitHub Desktop.
version: '2'
services:
proxy:
image: traefik
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG
networks:
- webgateway
ports:
- "80:80"
- "8080:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev/null:/traefik.toml
restart: always
networks:
webgateway:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment