mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Fix to avoid creating generated folder inside data folder. (#335)
* Fix to avoid creating generated folder inside data folder. This Fix is to avoid that ```generated``` folder will be created inside the movie /video files forder which leads to see the generated clips of the movies in SCENES. * Update docker-compose.yml Added generated volume , removed transcoded as it wasn't needed. All volumes remain with relative paths as suggested. Co-authored-by: bnkai <48220860+bnkai@users.noreply.github.com>
This commit is contained in:
parent
077b257316
commit
066295f0c9
1 changed files with 6 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ services:
|
||||||
driver: "json-file"
|
driver: "json-file"
|
||||||
options:
|
options:
|
||||||
max-file: "10"
|
max-file: "10"
|
||||||
max-size: "200k"
|
max-size: "2m"
|
||||||
environment:
|
environment:
|
||||||
- STASH_STASH=/data/
|
- STASH_STASH=/data/
|
||||||
- STASH_GENERATED=/generated/
|
- STASH_GENERATED=/generated/
|
||||||
|
|
@ -19,13 +19,16 @@ services:
|
||||||
- STASH_CACHE=/cache/
|
- STASH_CACHE=/cache/
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
## Adjust below paths (the left part) to your liking.
|
||||||
|
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
|
||||||
|
|
||||||
## Keep configs here.
|
## Keep configs here.
|
||||||
- ./config:/root/.stash
|
- ./config:/root/.stash
|
||||||
## Point this at your collection.
|
## Point this at your collection.
|
||||||
- ./data:/data
|
- ./data:/data
|
||||||
## This is where pre-generated transcodes live.
|
|
||||||
- ./transcodes:/transcodes
|
|
||||||
## This is where your stash's metadata lives
|
## This is where your stash's metadata lives
|
||||||
- ./metadata:/metadata
|
- ./metadata:/metadata
|
||||||
## Any other cache content.
|
## Any other cache content.
|
||||||
- ./cache:/cache
|
- ./cache:/cache
|
||||||
|
## Where to store generated content (screenshots,previews,transcodes,sprites)
|
||||||
|
- ./generated:/generated
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue