Use versioning through name not file

This commit is contained in:
Luke Murphy 2020-04-30 15:26:01 +02:00
parent 8266dba3d9
commit d028bdde9f
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock"
- "letsencrypt:/etc/letsencrypt"
configs:
- source: traefik-yml-prod
- source: traefik-yml-prod-v1
target: /etc/traefik/traefik.yml
networks:
- proxy
@ -38,8 +38,8 @@ networks:
external: true
configs:
traefik-yml-prod:
file: configs/prod/traefik-v2.yml
traefik-yml-prod-v1:
file: configs/prod/traefik.yml
volumes:
letsencrypt: