mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-11-15 05:22:22 +01:00
add env 'DOCKER_VOLUME_STORAGE' for volume path customization
This commit is contained in:
1 parent
1d2ab5133b
commit
ce70d88893
70 files changed
+167
-168
No files matched your search
@@ -14,7 +14,7 @@ services:
|
||||
- DB_PASS=USERPW1
|
||||
- DB_DATABASE=bookstackapp
|
||||
volumes:
|
||||
- /mnt/docker-volumes/bookstack/config:/config
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/config:/config
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8099:80
|
||||
@@ -34,5 +34,5 @@ services:
|
||||
- MYSQL_USER=bookstack
|
||||
- MYSQL_PASSWORD=USERPW1
|
||||
volumes:
|
||||
- /mnt/docker-volumes/bookstack/mariadb-config:/config
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/mariadb-config:/config
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user