kopia lustrzana https://github.com/Haxxnet/Compose-Examples
Update docker-compose.yml
use env variable to allow for volume path customizations as mentioned by https://www.reddit.com/user/SolFlorus/pull/4/head
rodzic
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:
|
||||
|
|
Ładowanie…
Reference in New Issue