traefik/pica-traefik/docker-compose.yml

17 lines
393 B
YAML

version: '3.7'
services:
traefik:
image: traefik:2.3
container_name: traefik
ports:
- 80:80
- 443:443
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.toml:/traefik.toml
- ./traefik_dynamic.toml:/traefik_dynamic.toml
- /DATA/docker/traefik/certs:/certs
restart: unless-stopped