Use MacVLAN and obtain domain automatically

This commit is contained in:
Colin Hebert
2023-01-03 19:45:45 +01:00
parent 93d594dd02
commit 98aa775ff7
4 changed files with 30 additions and 2 deletions

View File

@@ -22,6 +22,9 @@ services:
networks:
- traefik
- docker
- macvlan
environment:
- NAS_COMPOSE_DOMAIN=${NAS_COMPOSE_DOMAIN?}
# TODO: Move to configs?
volumes:
- traefik_dynamic_config:/etc/traefik/dynamic/:ro
@@ -69,6 +72,8 @@ networks:
name: traefik
labels:
nas-compose.boostrap: true
macvlan:
external: true
volumes:
portainer_data: