|
|
description: "Traefik"
maintainer: "Valentin Lab <valentin.lab@kalysto.org>"
## XXXvlab: docker uses the 'build' directory or the 'image:' option here.
docker-image: traefik
docker-compose:
restart: unless-stopped
command: --api --docker ## Enables the web UI and tells Træfik to listen to docker
ports:
- "80:80" ## The HTTP port
- "8080:8080" ## The Web UI (enabled by --api)
host-resources:
- /var/run/docker.sock ## So that Traefik can listen to the Docker events
|