54 lines
No EOL
1.8 KiB
YAML
Executable file
54 lines
No EOL
1.8 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:
|
|
PUID: "1964"
|
|
PGID: "1964"
|
|
STASH_STASH: /data/
|
|
STASH_GENERATED: /generated/
|
|
STASH_METADATA: /metadata/
|
|
STASH_CACHE: /cache/
|
|
STASH_GRAPHQL_PLAYGROUND: true
|
|
## Adjust below to change default 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:
|
|
gremlin.version: "2026-04-1"
|
|
diun.enable: "true"
|
|
monitor.name: "stash"
|
|
monitor.url: "http://stash:9999"
|
|
homepage.group: "Green Apps"
|
|
homepage.name: "stash
|
|
homepage.icon: "docker.png"
|
|
homepage.href: "https://stash.netgrimoire.com"
|
|
homepage.description: "stash service"
|
|
caddy: stash.netgrimoire.net
|
|
caddy.reverse_proxy: "stash:9999"
|
|
caddy.import_1: crowdsec
|
|
caddy.import_2: authentik
|
|
networks:
|
|
netgrimoire:
|
|
external: true
|
|
#####df |