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
|
2021-10-01 06:26:32 +00:00
|
|
|
container_name: stash
|
2019-04-24 17:10:26 +00:00
|
|
|
restart: unless-stopped
|
2021-10-01 06:26:32 +00:00
|
|
|
## the container's port must be the same with the STASH_PORT in the environment section
|
2019-04-24 17:10:26 +00:00
|
|
|
ports:
|
|
|
|
- "9999:9999"
|
2021-10-01 06:26:32 +00:00
|
|
|
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
|
|
|
|
# network_mode: host
|
2019-04-24 17:10:26 +00:00
|
|
|
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/
|
2021-10-01 06:26:32 +00:00
|
|
|
## Adjust below to change default port (9999)
|
|
|
|
- STASH_PORT=9999
|
2019-04-24 17:10:26 +00:00
|
|
|
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
|
2023-03-29 05:01:36 +00:00
|
|
|
## Where to store binary blob data (scene covers, images)
|
|
|
|
- ./blobs:/blobs
|
2020-02-01 19:55:22 +00:00
|
|
|
## Where to store generated content (screenshots,previews,transcodes,sprites)
|
|
|
|
- ./generated:/generated
|