change: volumes in custom directory
This commit is contained in:
parent
4971d79673
commit
39f90db91d
3 changed files with 14 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue