Move all configs to the config volume

This commit is contained in:
Colin Hebert
2022-12-31 10:56:47 +01:00
parent 501cab6b96
commit 5d87b076b3
4 changed files with 10 additions and 9 deletions

View File

@@ -23,9 +23,6 @@ services:
- docker
volumes:
- traefik_config:/etc/traefik/
configs:
- source: traefik_config
target: /etc/traefik/traefik.yml
depends_on:
- docker
restart: unless-stopped
@@ -80,10 +77,6 @@ volumes:
labels:
nas-compose.boostrap: true
configs:
traefik_config:
file: ${SERVICES_DIR?}/traefik/configs/traefik.yml
secrets:
portainer_password:
file: ${SERVICES_DIR?}/portainer/secrets/portainer_password