traefik/examples/compose-rancher.yml
2017-03-06 17:45:58 +01:00

10 lines
273 B
YAML

traefik:
image: traefik
command: --web --rancher --rancher.domain=rancher.localhost --logLevel=DEBUG
labels:
io.rancher.container.agent.role: environment
io.rancher.container.create_agent: 'true'
ports:
- "80:80"
- "443:443"
- "8080:8080"