From 066295f0c942ef4b3e8b6419c337079ef430675d Mon Sep 17 00:00:00 2001 From: ThUnD3r|Gr33n Date: Sat, 1 Feb 2020 20:55:22 +0100 Subject: [PATCH] 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> --- docker/production/docker-compose.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/production/docker-compose.yml b/docker/production/docker-compose.yml index 86c890b23..1d20eb42c 100644 --- a/docker/production/docker-compose.yml +++ b/docker/production/docker-compose.yml @@ -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