11 lines
467 B

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