traefik-compose/docker-compose.yml

28 lines
557 B
YAML

version: '3'
networks:
dmz:
external: true
services:
reverse-proxy:
image: reg.zknt.org/zknt/traefik
command: --configFile=/etc/traefik/traefik.toml
restart: always
ports:
- "80:80"
- "443:443"
- "172.27.123.x:8888:8080"
volumes:
- ./traefik.toml:/etc/traefik/traefik.toml
- ./default_https.toml:/etc/traefik/dyn/default_https.toml
- acme:/etc/traefik/acme
- /var/run/docker.sock:/var/run/docker.sock
networks:
- dmz
volumes:
acme:
labels:
org.zknt.backup: true