This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
traefik.autonomic.zone/docker-compose.ci.yml

23 lines
602 B
YAML

---
version: "3.7"
services:
traefik:
container_name: traefik
ports:
- "8001:80"
- "8080:8080"
command:
- "--api=true"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:8001"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
labels:
- "traefik.enable=true"
- "traefik.http.routers.traefik.rule=Host(`traefik.localhost`)"
- "traefik.http.routers.traefik.entrypoints=web"
- "traefik.http.routers.traefik.service=api@internal"