1
0
IaC/compose/truenas-media.yaml
2025-01-12 00:03:26 -05:00

83 lines
1.9 KiB
YAML

# Docker compose file for truenas apps
name: "media"
# Network
networks:
apps:
external: true
name: apps
services:
# jellyfin:
# container_name: jellyfin
# image: jellyfin # FIX
# restart: unless-stopped
# networks:
# apps:
# ipv4_address: 10.96.10.101
# link_local_ips: []
# volumes:
# - /mnt/hdd/apps/jellyfin:/config
# - /mnt/hdd/media:/media
# - /mnt/hdd/apps/certbot/etc:/etc/letsencrypt
# - /mnt/hdd/apps/certbot/var:/var/lib/letsencrypt
cert-sorter:
container_name: cert-sorter
image: code.balsillie.net/michael/containers/cert-sorter:latest
pull_policy: always
restart: 'no'
volumes:
- /mnt/hdd/apps/certbot/etc:/etc/letsencrypt
- /mnt/hdd/apps/cert-1000:/dest/1000
network_mode: none
qbittorrent:
container_name: torrent
image: code.balsillie.net/michael/containers/qbittorrent:latest
pull_policy: always
depends_on:
cert-sorter:
condition: service_completed_successfully
required: true
restart: true
restart: unless-stopped
hostname: torrent
domainname: balsillie.house
dns: 10.2.0.1
user: ubuntu
networks:
apps:
ipv4_address: 10.96.10.102
link_local_ips: []
volumes:
- /mnt/hdd/apps/torrent:/config
- /mnt/hdd/media:/media
- /mnt/hdd/apps/cert-1000:/cert
radarr:
container_name: radarr
image: code.balsillie.net/michael/containers/radarr:latest
pull_policy: always
depends_on:
cert-sorter:
condition: service_completed_successfully
required: true
restart: true
restart: unless-stopped
hostname: radarr
domainname: balsillie.house
user: ubuntu
networks:
apps:
ipv4_address: 10.96.10.104
link_local_ips: []
volumes:
- /mnt/hdd/apps/radarr:/config
- /mnt/hdd/media:/media
- /mnt/hdd/apps/cert-1000:/cert
# sonarr