mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 00:44:27 +01:00
add env 'DOCKER_VOLUME_STORAGE' for volume path customization
This commit is contained in:
@@ -15,7 +15,7 @@ services:
|
||||
- MYSQL_PASSWORD=VeryStrongDatabasePassword
|
||||
- TZ=Europe/Berlin
|
||||
volumes:
|
||||
- /mnt/docker-volumes/snipeit/config:/config
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/config:/config
|
||||
ports:
|
||||
- 8080:80
|
||||
restart: unless-stopped
|
||||
@@ -32,5 +32,5 @@ services:
|
||||
- MYSQL_USER=snipeit
|
||||
- MYSQL_PASSWORD=VeryStrongDatabasePassword # change this
|
||||
volumes:
|
||||
- /mnt/docker-volumes/snipeit/mariadb:/config
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/mariadb:/config
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user