Set MacVLAN up in its own file

This commit is contained in:
Colin Hebert
2023-01-04 09:17:51 +01:00
parent 573293ae65
commit 1e1ba7b4df
3 changed files with 33 additions and 6 deletions

View File

@@ -17,11 +17,9 @@ services:
traefik:
image: traefik
networks:
traefik: {}
docker: {}
macvlan:
ipv4_address: ${NASCOMPOSE_TRAEFIK_IP}
- traefik
- docker
- macvlan
environment:
- NASCOMPOSE_DOMAIN=${NASCOMPOSE_DOMAIN?}
# TODO: Move to configs?
@@ -72,7 +70,9 @@ networks:
labels:
nas-compose.boostrap: true
macvlan:
external: true
name: macvlan
labels:
nas-compose.boostrap: true
volumes:
portainer_data: