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

6
.gitignore vendored
View File

@@ -1 +1,5 @@
*.nas-compose.env *.nas-compose.env
*/secrets/*
!*/secrets/README.md
*/volumes/*/*
!*/volumes/*/.gitkeep

View File

@@ -42,10 +42,10 @@ volumes:
driver_opts: driver_opts:
type: none type: none
o: bind o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/portainer/data/ device: ${NASCOMPOSE_SERVICES?}/portainer/volumes/data/
labels: labels:
nas-compose.boostrap: true nas-compose.boostrap: true
secrets: secrets:
portainer_password: portainer_password:
file: ${NASCOMPOSE_SERVICES?}/secrets/portainer/portainer_password file: ${NASCOMPOSE_SERVICES?}/portainer/secrets/portainer_password