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.override.yml

29 lines
748 B
YAML
Raw Normal View History

---
version: "3.8"
2020-04-30 09:50:59 +00:00
services:
traefik:
container_name: traefik
2020-04-30 12:24:29 +00:00
ports:
- "80:80"
- "8080:8080"
2020-04-30 09:50:59 +00:00
command:
- "--api=true"
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
labels:
- "traefik.enable=true"
2020-04-30 09:55:40 +00:00
- "traefik.http.routers.traefik.rule=Host(`traefik.localhost`)"
2020-04-30 09:50:59 +00:00
- "traefik.http.routers.traefik.entrypoints=web"
- "traefik.http.routers.traefik.service=api@internal"
2020-04-30 09:55:40 +00:00
whoami:
image: containous/whoami
labels:
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.localhost`)"