This commit is contained in:
traveler 2025-01-13 20:27:31 -06:00
parent b590f3ae19
commit d006b7bef0

View file

@ -44,8 +44,6 @@ services:
## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section ## If you intend to use stash's DLNA functionality uncomment the below network mode and comment out the above ports section
# network_mode: host # network_mode: host
environment: environment:
- PGID=998
- PUID=1001
- STASH_STASH=/data/ - STASH_STASH=/data/
- STASH_GENERATED=/generated/ - STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/ - STASH_METADATA=/metadata/
@ -80,40 +78,40 @@ services:
constraints: constraints:
- node.hostname == nas - node.hostname == nas
namer: # namer:
container_name: namer # container_name: namer
image: ghcr.io/theporndatabase/namer:latest # image: ghcr.io/theporndatabase/namer:latest
networks: # networks:
- netgrimoire # - netgrimoire
environment: # environment:
- PUID=1001 # - PUID=1001
- PGID=998 # - PGID=998
- TZ=America/Chicago # - TZ=America/Chicago
- NAMER_CONFIG=/config/namer.cfg # - NAMER_CONFIG=/config/namer.cfg
volumes: # volumes:
- /DockerVol/namer/:/config # - /DockerVol/namer/:/config
- /data/nfs/Baxter/Green/:/data # - /data/nfs/Baxter/Green/:/data
ports: # ports:
- 6980:6980 # - 6980:6980
restart: always # restart: always
healthcheck: # <- if on a qnap nas, the default health check will not work for you, domain name is the container_name # healthcheck: # <- if on a qnap nas, the default health check will not work for you, domain name is the container_name
test: [ "CMD-SHELL", "curl -f http://namer:6980/api/healthcheck || exit 1" ] # test: [ "CMD-SHELL", "curl -f http://namer:6980/api/healthcheck || exit 1" ]
interval: 1m # interval: 1m
timeout: 30s # timeout: 30s
# retries: 3 # # retries: 3
# start_period: 40s # # start_period: 40s
deploy: # deploy:
labels: # labels:
- homepage.group=Green Door # - homepage.group=Green Door
- homepage.name=Name # - homepage.name=Name
- homepage.icon=pritunl.png # - homepage.icon=pritunl.png
- homepage.href=http://namer.netgrimoire.com # - homepage.href=http://namer.netgrimoire.com
- homepage.description=Media Manager # - homepage.description=Media Manager
# - kuma.jgf.http.name="Namer" # # - kuma.jgf.http.name="Namer"
# - kuma.jgf.http.url=http://namer:6980 # # - kuma.jgf.http.url=http://namer:6980
placement: # placement:
constraints: # constraints:
- node.hostname == nas # - node.hostname == nas
networks: networks: