1
0
IaC/compose/truenas-media.yaml

125 lines
3.0 KiB
YAML
Raw Normal View History

2024-12-30 06:18:40 +00:00
# Docker compose file for truenas apps
name: "media"
# Network
networks:
apps:
external: true
name: apps
services:
2025-01-12 05:03:26 +00:00
# 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
2024-12-30 06:18:40 +00:00
restart: unless-stopped
2025-01-12 05:03:26 +00:00
hostname: torrent
domainname: balsillie.house
dns: 10.2.0.1
user: ubuntu
2024-12-30 06:18:40 +00:00
networks:
apps:
2025-01-12 05:03:26 +00:00
ipv4_address: 10.96.10.102
2024-12-30 06:18:40 +00:00
link_local_ips: []
volumes:
2025-01-12 05:03:26 +00:00
- /mnt/hdd/apps/torrent:/config
2024-12-30 06:18:40 +00:00
- /mnt/hdd/media:/media
2025-01-12 05:03:26 +00:00
- /mnt/hdd/apps/cert-1000:/cert
2024-12-30 06:18:40 +00:00
2025-01-12 19:18:23 +00:00
sonarr:
container_name: sonarr
image: code.balsillie.net/michael/containers/sonarr:latest
pull_policy: always
depends_on:
cert-sorter:
condition: service_completed_successfully
required: true
restart: true
restart: unless-stopped
hostname: tv
domainname: balsillie.house
user: ubuntu
networks:
apps:
ipv4_address: 10.96.10.103
link_local_ips: []
volumes:
- /mnt/hdd/apps/sonarr:/config
- /mnt/hdd/media:/media
- /mnt/hdd/apps/cert-1000:/cert
2025-01-12 05:03:26 +00:00
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
2025-01-12 19:18:23 +00:00
hostname: movies
2025-01-12 05:03:26 +00:00
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
2024-12-30 06:18:40 +00:00
2025-01-12 19:18:23 +00:00
prowlarr:
container_name: prowlarr
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: index
domainname: balsillie.house
user: ubuntu
networks:
apps:
ipv4_address: 10.96.10.105
link_local_ips: []
volumes:
- /mnt/hdd/apps/prowlarr:/config
- /mnt/hdd/media:/media
- /mnt/hdd/apps/cert-1000:/cert