This commit is contained in:
traveler 2025-01-15 22:40:05 -06:00
parent 67a52fd762
commit c6952e65eb

View file

@ -32,54 +32,89 @@ services:
constraints:
- node.hostname == docker1
stash:
image: stashapp/stash:latest
container_name: stash
whisparr:
image: cr.hotio.dev/hotio/whisparr:nightly
container_name: whisparr
hostname: whisparr
networks:
- netgrimoire
restart: unless-stopped
## the container's port must be the same with the STASH_PORT in the environment section
volumes:
- /DockerVol/Whisparr:/config
- /data/nfs/Baxter/:/data:shared
ports:
- "9999:9999"
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
# network_mode: host
- 6969:6969
environment:
- STASH_STASH=/data/
- STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/
- STASH_CACHE=/cache/
## 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
- TZ=America/Chicago
- PGID=998
- PUID=1001
restart: unless-stopped
deploy:
labels:
- homepage.group=Green Door
- homepage.name=Stash
- homepage.icon=stash.png
- homepage.href=http://stash.netgrimoire.com:8096
- homepage.description=Media Server
- kuma.jgf.http.name="Stash"
- kuma.jgf.http.url=http://stash:9999
- homepage.group=Green Door
- homepage.name=Whisparr
- homepage.icon=whisparr.png
- homepage.href=http://whisparr.netgrimoire.com
- homepage.description=Media Searc Search
- kuma.jgf.http.name="Whisparr"
- kuma.hydra.http.url=http://whisparr:6969
- caddy=whisparr.netgrimoire.com
- caddy.import=authentik
- caddy.reverse_proxy="{{upstreams 6969}}"
placement:
constraints:
- node.hostname == nas
# 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 comment out the above ports section
# # network_mode: host
# environment:
# - STASH_STASH=/data/
# - STASH_GENERATED=/generated/
# - STASH_METADATA=/metadata/
# - STASH_CACHE=/cache/
# ## 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
# deploy:
# labels:
# - homepage.group=Green Door
# - homepage.name=Stash
# - homepage.icon=stash.png
# - homepage.href=http://stash.netgrimoire.com:8096
# - homepage.description=Media Server
# - kuma.jgf.http.name="Stash"
# - kuma.jgf.http.url=http://stash:9999
# placement:
# constraints:
# - node.hostname == nas
# namer:
# container_name: namer
# image: ghcr.io/theporndatabase/namer:latest