53 lines
1 KiB
YAML
53 lines
1 KiB
YAML
version: "3.8"
|
|
|
|
services:
|
|
recyclarr:
|
|
image: ghcr.io/recyclarr/recyclarr:latest
|
|
user: "1001:998"
|
|
environment:
|
|
- PUID=1001
|
|
- PGID=998
|
|
- TZ=America/Chicago
|
|
|
|
# Run on an interval (simple + reliable)
|
|
# Adjust to taste: 6h, 12h, 24h, etc.
|
|
- RECYCLARR_RUN_MODE=interval
|
|
- RECYCLARR_INTERVAL=12h
|
|
|
|
# Optional: if you want extra logging
|
|
# - RECYCLARR_LOG_LEVEL=Information
|
|
|
|
volumes:
|
|
- /data/nfs/Baxter/Docker/recyclarr:/config
|
|
|
|
networks:
|
|
- netgrimoire
|
|
|
|
deploy:
|
|
placement:
|
|
constraints:
|
|
- node.hostname == docker4
|
|
mode: replicated
|
|
replicas: 1
|
|
|
|
restart_policy:
|
|
condition: any
|
|
delay: 10s
|
|
max_attempts: 0
|
|
window: 30s
|
|
|
|
update_config:
|
|
order: start-first
|
|
parallelism: 1
|
|
delay: 10s
|
|
|
|
labels:
|
|
# -------------------------
|
|
# Diun (image update notify)
|
|
# -------------------------
|
|
diun.enable: "true"
|
|
|
|
|
|
networks:
|
|
netgrimoire:
|
|
external: true
|