mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-03-15 10:09:54 +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:
|
ports:
|
||||||
- "9925:3000" # adjust to your liking
|
- "9925:3000" # adjust to your liking
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/docker-volumes/mealie/data:/app/data/
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
|
||||||
#networks:
|
#networks:
|
||||||
# - proxy
|
# - proxy
|
||||||
#labels:
|
#labels:
|
||||||
@ -34,7 +34,7 @@ services:
|
|||||||
limits:
|
limits:
|
||||||
memory: 512M # Setting a memory limit will improve idle performance.
|
memory: 512M # Setting a memory limit will improve idle performance.
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/docker-volumes/mealie/data:/app/data/
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mealie/data:/app/data/
|
||||||
#networks:
|
#networks:
|
||||||
# - proxy
|
# - proxy
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user