Migrate conf file to yaml ; add dynamix configuration

This commit is contained in:
2021-10-05 11:33:23 +02:00
parent c9a39507fb
commit 66f3d36482
3 changed files with 45 additions and 35 deletions

View File

@@ -2,7 +2,8 @@ version: '3.8'
services:
traefik:
image: traefik:2.3
image: traefik:2.5
restart: always
ports:
- "80:80"
- "443:443"
@@ -10,9 +11,9 @@ services:
- web
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./conf/traefik.toml:/etc/traefik/traefik.toml:ro
- ./conf/traefik.yml:/etc/traefik/traefik.yml:ro
- ./conf/acme.json:/acme.json
- ./conf/custom:/etc/traefik/custom:ro
- ./conf/dynamic:/etc/traefik/dynamic:ro
labels:
- traefik.enable=true
- traefik.http.routers.dashboard.rule=Host(`${HOSTNAME}`)