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"
|
2020-02-01 19:55:22 +00:00
|
|
|
max-size: "2m"
|
2019-04-24 17:10:26 +00:00
|
|
|
environment:
|
|
|
|
- STASH_STASH=/data/
|
|
|
|
- STASH_GENERATED=/generated/
|
|
|
|
- STASH_METADATA=/metadata/
|
|
|
|
- STASH_CACHE=/cache/
|
|
|
|
volumes:
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2020-02-01 19:55:22 +00:00
|
|
|
## Adjust below paths (the left part) to your liking.
|
|
|
|
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
|
|
|
|
|
2021-09-08 05:30:15 +00:00
|
|
|
## Keep configs, scrapers, and plugins here.
|
2019-04-24 17:10:26 +00:00
|
|
|
- ./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
|
2020-02-01 19:55:22 +00:00
|
|
|
## Where to store generated content (screenshots,previews,transcodes,sprites)
|
|
|
|
- ./generated:/generated
|