Files

187 lines
5.2 KiB
YAML

services:
rdtclient:
container_name: rdtclient
image: rogerfar/rdtclient:latest
restart: always
deploy:
resources:
limits:
cpus: "1.0"
memory: 1G
reservations:
cpus: "0.5"
memory: 512M
network_mode: container:vpn_gluetun
# ports:
# - "13001:6500"
volumes:
- /mnt/pve/unas/services/arr-stack/rdtclient/config:/data/db
- /mnt/pve/unas/media/Torrents:/data/downloads
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
healthcheck:
test: ["CMD", "curl", "--fail", "http://localhost:6500"]
interval: 30s
timeout: 30s
start_period: 30s
retries: 3
labels:
- "homepage.group=diagnostic"
- "homepage.name=RedDownloader"
- "homepage.icon=sh-qbittorrent"
- "homepage.href=http://192.168.1.40:13001"
- "homepage.instance.internal.href=http://192.168.1.40:13001"
prowlarr:
image: bitlessbyte/prowlarr:latest
container_name: prowlarr
# network_mode: "service:gluetun"
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- UMASK=022
volumes:
- /mnt/pve/unas/services/arr-stack/prowlarr:/config
ports:
- 13002:9696
dns:
- 192.168.1.2
restart: always
deploy:
resources:
limits:
cpus: "0.5"
memory: 512M
reservations:
cpus: "0.25"
memory: 256M
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9696/ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
labels:
- "homepage.group=diagnostic"
- "homepage.name=Prowlarr"
- "homepage.icon=sh-prowlarr"
- "homepage.href=http://192.168.1.40:13002"
- "homepage.instance.internal.href=http://192.168.1.40:13002"
- "homepage.widget.type=prowlarr"
- "homepage.widget.url=http://192.168.1.40:13002"
- "homepage.widget.key=48fc833aea854e4883e9d0bda3f57652"
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
container_name: audiobookshelf
environment:
- TZ=${TZ}
- PUID=1000
- PGID=1000
volumes:
- /mnt/pve/unas/services/arr-stack/audiobookshelf:/config
- /mnt/pve/unas/media/audiobooks:/audiobooks
- /mnt/pve/unas/media/ebooks:/ebooks
- /mnt/pve/unas/media/podcasts:/podcasts
ports:
- 13003:80
restart: always
deploy:
resources:
limits:
cpus: "1.0"
memory: 2G
reservations:
cpus: "0.5"
memory: 1G
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost || exit 1
interval: 5m
timeout: 3s
start_period: 30s
start_interval: 1s
labels:
- "homepage.group=media"
- "homepage.name=Audiobookshelf"
- "homepage.icon=sh-audiobookshelf"
- "homepage.href=https://abs.nuclide.systems"
- "homepage.instance.internal.href=http://192.168.1.40:13003"
- "homepage.instance.public.href=https://abs.nuclide.systems"
shelfarr:
image: ghcr.io/pedro-revez-silva/shelfarr:latest
container_name: shelfarr
restart: always
deploy:
resources:
limits:
cpus: "1.0"
memory: 1G
reservations:
cpus: "0.5"
memory: 512M
ports:
- "13004:80"
labels:
- "homepage.group=diagnostic"
- "homepage.name=ShelfArr"
- "homepage.icon=mdi-bookshelf"
- "homepage.href=http://192.168.1.40:13004"
- "homepage.instance.internal.href=http://192.168.1.40:13004"
volumes:
# Persist SQLite databases, Active Storage files, and logs
- /mnt/pve/unas/services/arr-stack/shelfarr/storage:/rails/storage
# Output directories - audiobooks and ebooks libraries
- /mnt/pve/unas/media/audiobooks:/audiobooks
- /mnt/pve/unas/media/ebooks:/ebooks
# SABnzbd completed downloads folder for post-processing
- /mnt/pve/unas/media/Torrents:/downloads
environment:
- RAILS_ENV=production
#&& - RAILS_MASTER_KEY=16213800cbc342d0af2a6042e9979072
- SOLID_QUEUE_IN_PUMA=1
# Alternatively, if you're using credentials.yml.enc, set SECRET_KEY_BASE directly:
# - SECRET_KEY_BASE=${SECRET_KEY_BASE}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/up"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
depends_on:
- flaresolverr
- prowlarr
- rdtclient
flaresolverr:
# DockerHub mirror flaresolverr/flaresolverr:latest
image: ghcr.io/flaresolverr/flaresolverr:latest
container_name: flaresolverr
environment:
- LOG_LEVEL=${LOG_LEVEL:-info}
- LOG_FILE=${LOG_FILE:-none}
- LOG_HTML=${LOG_HTML:-false}
- CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none}
- TZ=Europe/Berlin
ports:
- "${PORT:-13005}:8191"
volumes:
- /var/lib/flaresolver:/config
restart: always
deploy:
resources:
limits:
cpus: "1.0"
memory: 1G
reservations:
cpus: "0.5"
memory: 512M
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8191/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s