39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
services:
|
|
stash:
|
|
image: stashapp/stash:latest
|
|
container_name: stash
|
|
networks:
|
|
- netgrimoire
|
|
restart: unless-stopped
|
|
## the container's port must be the same with the STASH_PORT in the environment section
|
|
ports:
|
|
- 9999:9999
|
|
## If you intend to use stash's DLNA functionality uncomment the below network mode and c
|
|
# network_mode: host
|
|
environment:
|
|
- STASH_STASH=/data/
|
|
- STASH_GENERATED=/generated/
|
|
- STASH_METADATA=/metadata/
|
|
- STASH_CACHE=/cache/
|
|
- STASH_GRAPHQL_PLAYGROUND=true
|
|
## Adjust below to change default port (9999)
|
|
- STASH_PORT=9999
|
|
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, scrapers, and plugins here.
|
|
- /DockerVol/Stash/config:/root/.stash
|
|
## Point this at your collection.
|
|
- /data/nfs/Baxter/Green:/data
|
|
## This is where your stash's metadata lives
|
|
- /DockerVol/Stash/metadata:/metadata
|
|
## Any other cache content.
|
|
- ./DockerVol/Stash/cache:/cache
|
|
## Where to store generated content (screenshots,previews,transcodes,sprites)
|
|
- /DockerVol/Stash/generated:/generated
|
|
|
|
networks:
|
|
netgrimoire:
|
|
external: true
|