Remove traefik from the bootstrap

This commit is contained in:
Colin Hebert
2023-01-20 11:52:51 +01:00
parent 430a18650f
commit 354b39523f
8 changed files with 100 additions and 67 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?}/configs/traefik/dynamic/synology.yml
traefik_portainer:
file: ${NASCOMPOSE_SERVICES?}/configs/traefik/dynamic/portainer.yml