Replace secrets/configs with mounted files/folders

This commit is contained in:
Colin Hebert
2023-04-16 09:34:30 +10:00
parent fe50b4d1a9
commit 1520a5a63f
8 changed files with 28 additions and 102 deletions

View File

@@ -6,18 +6,7 @@ services:
networks:
macvlan:
ipv4_address: ${NASCOMPOSE_MACVLAN_TRAEFIK_IP?}
configs:
- source: traefik_synology
target: /etc/traefik/dynamic/synology.yml
- source: traefik_portainer
target: /etc/traefik/dynamic/portainer.yml
networks:
macvlan:
external: true
configs:
traefik_synology:
file: ${NASCOMPOSE_SERVICES?}/reverse-proxy/configs/dynamic/synology.yml
traefik_portainer:
file: ${NASCOMPOSE_SERVICES?}/reverse-proxy/configs/dynamic/portainer.yml