infra-oasis21/traefik/docker-compose.yml

24 lines
459 B
YAML
Raw Normal View History

2022-04-28 16:41:42 +02:00
version: "3.7"
networks:
proxy:
name: "proxy"
services:
traefik:
2022-05-05 11:17:28 +02:00
image: traefik:2.5
2022-04-28 16:41:42 +02:00
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
2022-05-05 11:17:28 +02:00
- /DATA/docker/services/certs:/certs
2022-04-28 16:41:42 +02:00
environment:
TZ: Europe/Paris
networks:
- proxy
restart: unless-stopped