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:
LRVT
2023-02-25 13:52:38 +01:00
committed by GitHub
parent 69e502805e
commit 1d2ab5133b

View File

@@ -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: