fixed vol for stash

This commit is contained in:
2024-07-18 12:57:54 -07:00
parent b449c49362
commit afe4e9b34b
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -25,8 +25,8 @@ In your PROJECT directory set the following env file:
# Local
PROD=prod.domain.com
PRODDIR=/var/www/stashdomain-com/
NETWORKNAME=proxy
COOKBOOK=/home/user/git/docker-compose-cookbooks
VOL_PATH=/project-dir/project-name/data
STASH_IMAGE=stashapp/stash:v0.26.2
# Container
+5 -5
View File
@@ -16,11 +16,11 @@ services:
- STASH_CACHE=${STASH_CACHE:-/cache/}
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "./data/stash-video:/data"
- "./data/stash-metadata:/metadata"
- "./data/stash-cache:/cache"
- "./data/stash-generated:/generated"
- "./data/stash-root:/root"
- "${VOL_PATH:-./data}/stash-video:/data"
- "${VOL_PATH:-./data}/stash-metadata:/metadata"
- "${VOL_PATH:-./data}/stash-cache:/cache"
- "${VOL_PATH:-./data}/stash-generated:/generated"
- "${VOL_PATH:-./data}/stash-root:/root"
# Uncomment and use if needed
# network_mode: "host"