infra-oasis21/traefik/docker-compose.yml
2022-11-10 09:50:58 +01:00

24 lines
461 B
YAML

version: "3.7"
networks:
proxy:
name: "proxy"
services:
traefik:
image: traefik:2.9.4
container_name: traefik
ports:
- 80:80
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.toml:/traefik.toml
- ./traefik_dynamic.toml:/traefik_dynamic.toml
- /DATA/docker/services/certs:/certs
environment:
TZ: Europe/Paris
networks:
- proxy
restart: unless-stopped