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:
ThUnD3r|Gr33n 2020-02-01 20:55:22 +01:00 committed by GitHub
parent 077b257316
commit 066295f0c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@ services:
driver: "json-file"
options:
max-file: "10"
max-size: "200k"
max-size: "2m"
environment:
- STASH_STASH=/data/
- STASH_GENERATED=/generated/
@ -19,13 +19,16 @@ services:
- STASH_CACHE=/cache/
volumes:
- /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.
- ./config:/root/.stash
## Point this at your collection.
- ./data:/data
## This is where pre-generated transcodes live.
- ./transcodes:/transcodes
## This is where your stash's metadata lives
- ./metadata:/metadata
## Any other cache content.
- ./cache:/cache
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./generated:/generated