services/compose/znas/stash.yaml
traveler cb4099fd99
Some checks are pending
Deploy on push / detect (push) Waiting to run
Deploy on push / deploy_swarm (push) Blocked by required conditions
Deploy on push / deploy_compose (push) Blocked by required conditions
gremlin: convert list-style blocks to map format in compose/znas/stash.yaml
2026-05-06 07:05:14 -05:00

41 lines
No EOL
1.4 KiB
YAML
Executable file

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/znas/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
labels:
caddy: stash.netgrimoire.net
networks:
netgrimoire:
external: true
###