Change folder structure for bootstrap

This commit is contained in:
Colin Hebert
2023-01-20 17:13:41 +01:00
parent c92b50906d
commit f2761f2800
6 changed files with 7 additions and 3 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