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,21 @@
services:
portainer:
networks:
macvlan:
ipv4_address: ${NASCOMPOSE_MACVLAN_PORTAINER_IP?}
networks:
macvlan:
name: macvlan
driver: macvlan
driver_opts:
parent: ${NASCOMPOSE_MACVLAN_IFACE?}
ipam:
config:
- subnet: ${NASCOMPOSE_MACVLAN_SUBNET?}
gateway: ${NASCOMPOSE_MACVLAN_GATEWAY?}
ip_range: ${NASCOMPOSE_MACVLAN_RANGE?}
aux_addresses:
nas: ${NASCOMPOSE_MACVLAN_HOST_IP?}
labels:
nas-compose.boostrap: true