mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-03-13 17:19:52 +00:00
Update docker-compose.yml
use env variable to allow for volume path customizations as mentioned by https://www.reddit.com/user/SolFlorus/
This commit is contained in:
parent
69e502805e
commit
1d2ab5133b
@ -14,7 +14,7 @@ services:
|
||||
ports:
|
||||
- "9925:3000" # adjust to your liking
|
||||
volumes:
|
||||
- /mnt/docker-volumes/mealie/data:/app/data/
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
|
||||
#networks:
|
||||
# - proxy
|
||||
#labels:
|
||||
@ -34,7 +34,7 @@ services:
|
||||
limits:
|
||||
memory: 512M # Setting a memory limit will improve idle performance.
|
||||
volumes:
|
||||
- /mnt/docker-volumes/mealie/data:/app/data/
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
|
||||
#networks:
|
||||
# - proxy
|
||||
environment:
|
||||
|
Loading…
x
Reference in New Issue
Block a user