traefik/examples/compose-rancher.yml
2018-02-05 15:04:02 +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"