change: volumes in custom directory

This commit is contained in:
mcolonna 2025-06-17 15:22:16 +02:00
parent 4971d79673
commit 39f90db91d
3 changed files with 14 additions and 1 deletions

View file

@ -40,7 +40,17 @@ services:
volumes:
www:
driver: local
driver_opts:
type: none
device: "${VOLUMES_PATH:?error}/www"
o: bind
db:
driver: local
driver_opts:
type: none
device: "${VOLUMES_PATH:?error}/db"
o: bind
secrets:
database-pwd: