No need to make complex names for docker-compose files

This commit is contained in:
Colin Hebert
2023-01-20 17:30:30 +01:00
parent efac894fc5
commit 6687865f7a
7 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
services:
traefik:
environment:
NASCOMPOSE_MACVLAN_SYNOLOGY_IP: ${NASCOMPOSE_MACVLAN_HOST_IP?}
NASCOMPOSE_MACVLAN_PORTAINER_IP: ${NASCOMPOSE_MACVLAN_PORTAINER_IP?}
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?}/proxy/configs/dynamic/synology.yml
traefik_portainer:
file: ${NASCOMPOSE_SERVICES?}/proxy/configs/dynamic/portainer.yml