2019-04-24 17:10:26 +00:00
|
|
|
# APPNICENAME=Stash
|
|
|
|
# APPDESCRIPTION=An organizer for your porn, written in Go
|
|
|
|
version: '3.4'
|
|
|
|
services:
|
|
|
|
stash:
|
2019-08-29 16:10:39 +00:00
|
|
|
image: stashapp/stash:latest
|
2019-04-24 17:10:26 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- "9999:9999"
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-file: "10"
|
|
|
|
max-size: "200k"
|
|
|
|
environment:
|
|
|
|
- STASH_STASH=/data/
|
|
|
|
- STASH_GENERATED=/generated/
|
|
|
|
- STASH_METADATA=/metadata/
|
|
|
|
- STASH_CACHE=/cache/
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
## 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
|