traefik/examples/compose-rancher.yml
2018-03-12 10:40:04 +01:00

7 lines
255 B
YAML

traefik:
image: traefik
command: --api --rancher --rancher.domain=rancher.localhost --rancher.endpoint=http://example.com --rancher.accesskey=XXXXXXX --rancher.secretkey=YYYYYY --logLevel=DEBUG
ports:
- "80:80"
- "443:443"
- "8080:8080"