stash/docker/production/docker-compose.yml
ThUnD3r|Gr33n 066295f0c9
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>
2020-02-01 14:55:22 -05:00

34 lines
1,014 B
YAML

# APPNICENAME=Stash
# APPDESCRIPTION=An organizer for your porn, written in Go
version: '3.4'
services:
stash:
image: stashapp/stash:latest
restart: unless-stopped
ports:
- "9999:9999"
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "2m"
environment:
- STASH_STASH=/data/
- STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/
- 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 your stash's metadata lives
- ./metadata:/metadata
## Any other cache content.
- ./cache:/cache
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./generated:/generated