diff --git a/Lidarr/.env.example b/Lidarr/.env.example new file mode 100644 index 0000000..3168a6a --- /dev/null +++ b/Lidarr/.env.example @@ -0,0 +1,31 @@ +# Lidarr Docker Compose Environment Variables + +# Image version tag (default: latest) +LIDARR_VERSION=latest + +# User and group ID for file permissions (default: 1000) +# Must have read/write on the music library and downloads folder +LIDARR_PUID=1000 +LIDARR_PGID=1000 + +# Timezone (default: America/Los_Angeles) +LIDARR_TZ=America/Los_Angeles + +# Host port to expose the Lidarr web UI (default: 8686) +LIDARR_PORT=8035 + +# Host path to the music library (mounted at /music) +LIDARR_MUSIC_PATH=/mnt/plexlibrary/music + +# Host path to the download client's folder (mounted at /data) +# Use the same host path as TRANSMISSION_OPENVPN_DATA so both containers see downloads at /data +LIDARR_DOWNLOADS_PATH=/mnt/torrent + +# NFS server hostname or IP address +LIDARR_NFS_SERVER= + +# NFS device path for Lidarr backups, mounted at /config/Backups (must include leading colon, e.g. :/mnt/pool/lidarr-backups) +LIDARR_BACKUPS_NFS_DEVICE= + +# Static IP on the external arr_network (172.31.0.0/24) so other arr containers can reach Lidarr +LIDARR_IP=172.31.0.32 diff --git a/Lidarr/docker-compose.yaml b/Lidarr/docker-compose.yaml new file mode 100644 index 0000000..cdee96a --- /dev/null +++ b/Lidarr/docker-compose.yaml @@ -0,0 +1,51 @@ +services: + app: + image: linuxserver/lidarr:${LIDARR_VERSION:-latest} + container_name: lidarr-app + environment: + - PUID=${LIDARR_PUID:-1000} + - PGID=${LIDARR_PGID:-1000} + - TZ=${LIDARR_TZ:-America/Los_Angeles} + volumes: + - lidarr-config:/config + # Lidarr's default backup folder, stored on NFS so backups survive loss of the Docker host + - lidarr-backups:/config/Backups + - ${LIDARR_MUSIC_PATH}:/music + # Same host path + container path as Transmission (/data) so no Remote Path Mapping is needed + - ${LIDARR_DOWNLOADS_PATH}:/data + ports: + - ${LIDARR_PORT:-8686}:8686 + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8686/ping"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 30s + logging: + driver: json-file + options: + max-size: 10m + deploy: + resources: + limits: + memory: 1g + networks: + arr_network: + ipv4_address: ${LIDARR_IP:-172.31.0.32} + restart: unless-stopped + +volumes: + lidarr-config: + name: lidarr-config + driver: local + lidarr-backups: + name: lidarr-backups + driver: local + driver_opts: + type: nfs + o: "addr=${LIDARR_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" + device: "${LIDARR_BACKUPS_NFS_DEVICE}" + +networks: + arr_network: + external: true diff --git a/README.md b/README.md index c250abd..bb36119 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Feel free to use any of these as a starting point for your own setup. Each appli | IT-Tools | Collection of handy tools for developers and sysadmins | [Compose](./IT-Tools/docker-compose.yaml) | [Read the article](https://chns.tech/posts/2023/10-22-it-tools-handy-tools-for-developers/) | | Jackett | API proxy that translates torrent tracker queries for use with download clients | [NFS](./Jackett/docker-compose-nfs.yaml) | [Read the article](#) | | Kanboard | Self-hosted Kanban project management board | [NFS](./Kanboard/docker-compose-nfs.yaml) | [Read the article](https://chns.tech/posts/2024/04-28-kanboard-project-management-software/) | +| Lidarr | Music collection manager that monitors artists and automates album downloads via torrent or Usenet | [Compose](./Lidarr/docker-compose.yaml) | [Read the article](#) | | LinkStack | Self-hosted link-in-bio page builder | [NFS](./LinkStack/docker-compose-nfs.yaml) | [Read the article](https://chns.tech/posts/2024/02-04-linkstack-social-media-link-page/) | | Manyfold | Self-hosted 3D model library manager for organizing and previewing 3D print files | [NFS](./Manyfold/docker-compose-nfs.yaml) | [Read the article](#) | | Mealie | Self-hosted recipe manager and meal planner with shopping list and import support | [NFS](./Mealie/docker-compose-nfs.yaml) | [Read the article](#) | @@ -42,9 +43,11 @@ Feel free to use any of these as a starting point for your own setup. Each appli | Paperless-NGX | Self-hosted document management system that scans, OCRs, and indexes paperwork into a searchable archive | [Compose](./Paperless-NGX/docker-compose.yaml) | [Read the article](#) | | Pinchflat | Self-hosted YouTube subscription manager that downloads content automatically like a podcast feed | [NFS](./Pinchflat/docker-compose-nfs.yaml) · [Bind](./Pinchflat/docker-compose-bind.yaml) | [Read the article](https://chns.tech/posts/2024/06-30-pinchflat-channel-monitoring-youtube-downloader/) | | Pinepods | Self-hosted podcast management and playback server with multi-user support | [NFS](./Pinepods/docker-compose-nfs.yaml) | [Read the article](#) | +| Radarr | Movie collection manager that monitors for new releases and automates downloads via torrent or Usenet | [Compose](./Radarr/docker-compose.yaml) | [Read the article](#) | | Seerr | Media request management tool for self-hosted media servers | [Compose](./Seerr/docker-compose.yaml) · [NFS](./Seerr/docker-compose-nfs.yaml) | [Read the article](#) | | SearXNG | Privacy-respecting, self-hosted metasearch engine | [Bind](./SearXNG/docker-compose-bind.yaml) | [Read the article](https://chns.tech/posts/2024/06-23-searxng-internet-metasearch-engine/) | | Solidinvoice | Open-source invoicing and quote management for small businesses and freelancers | [NFS](./Solidinvoice/docker-compose-nfs.yaml) | [Read the article](#) | +| Sonarr | TV series manager that monitors for new episodes and automates downloads via torrent or Usenet | [Compose](./Sonarr/docker-compose.yaml) | [Read the article](#) | | Tautulli | Monitoring and statistics tracker for Plex Media Server activity | [Bind](./Tautulli/docker-compose-bind.yaml) · [NFS](./Tautulli/docker-compose-nfs.yaml) | [Read the article](#) | | Transmission-OpenVPN | Transmission BitTorrent client running through an OpenVPN tunnel for private downloading | [NFS](./Transmission-OpenVPN/docker-compose-nfs.yaml) | [Read the article](#) | | Trilium | Self-hosted hierarchical note-taking application with rich text and scripting support | [NFS](./Trilium/docker-compose-nfs.yaml) | [Read the article](#) | diff --git a/Radarr/.env.example b/Radarr/.env.example new file mode 100644 index 0000000..db991d8 --- /dev/null +++ b/Radarr/.env.example @@ -0,0 +1,31 @@ +# Radarr Docker Compose Environment Variables + +# Image version tag (default: latest) +RADARR_VERSION=latest + +# User and group ID for file permissions (default: 1000) +# Must have read/write on the movie library and downloads folder +RADARR_PUID=1000 +RADARR_PGID=1000 + +# Timezone (default: America/Los_Angeles) +RADARR_TZ=America/Los_Angeles + +# Host port to expose the Radarr web UI (default: 7878) +RADARR_PORT=8034 + +# Host path to the movie library (mounted at /movies) +RADARR_MOVIES_PATH=/mnt/movies + +# Host path to the download client's folder (mounted at /data) +# Use the same host path as TRANSMISSION_OPENVPN_DATA so both containers see downloads at /data +RADARR_DOWNLOADS_PATH=/mnt/torrent + +# NFS server hostname or IP address +RADARR_NFS_SERVER= + +# NFS device path for Radarr backups, mounted at /config/Backups (must include leading colon, e.g. :/mnt/pool/radarr-backups) +RADARR_BACKUPS_NFS_DEVICE= + +# Static IP on the external arr_network (172.31.0.0/24) so other arr containers can reach Radarr +RADARR_IP=172.31.0.31 diff --git a/Radarr/docker-compose.yaml b/Radarr/docker-compose.yaml new file mode 100644 index 0000000..20ae0d9 --- /dev/null +++ b/Radarr/docker-compose.yaml @@ -0,0 +1,51 @@ +services: + app: + image: linuxserver/radarr:${RADARR_VERSION:-latest} + container_name: radarr-app + environment: + - PUID=${RADARR_PUID:-1000} + - PGID=${RADARR_PGID:-1000} + - TZ=${RADARR_TZ:-America/Los_Angeles} + volumes: + - radarr-config:/config + # Radarr's default backup folder, stored on NFS so backups survive loss of the Docker host + - radarr-backups:/config/Backups + - ${RADARR_MOVIES_PATH}:/movies + # Same host path + container path as Transmission (/data) so no Remote Path Mapping is needed + - ${RADARR_DOWNLOADS_PATH}:/data + ports: + - ${RADARR_PORT:-7878}:7878 + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:7878/ping"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 30s + logging: + driver: json-file + options: + max-size: 10m + deploy: + resources: + limits: + memory: 1g + networks: + arr_network: + ipv4_address: ${RADARR_IP:-172.31.0.31} + restart: unless-stopped + +volumes: + radarr-config: + name: radarr-config + driver: local + radarr-backups: + name: radarr-backups + driver: local + driver_opts: + type: nfs + o: "addr=${RADARR_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" + device: "${RADARR_BACKUPS_NFS_DEVICE}" + +networks: + arr_network: + external: true diff --git a/Sonarr/.env.example b/Sonarr/.env.example new file mode 100644 index 0000000..7bfb4ad --- /dev/null +++ b/Sonarr/.env.example @@ -0,0 +1,31 @@ +# Sonarr Docker Compose Environment Variables + +# Image version tag (default: latest) +SONARR_VERSION=latest + +# User and group ID for file permissions (default: 1000) +# Must have read/write on the TV library and downloads folder +SONARR_PUID=1000 +SONARR_PGID=1000 + +# Timezone (default: America/Los_Angeles) +SONARR_TZ=America/Los_Angeles + +# Host port to expose the Sonarr web UI (default: 8989) +SONARR_PORT=8028 + +# Host path to the TV show library (mounted at /tv) +SONARR_TV_PATH=/mnt/tvshows + +# Host path to the download client's folder (mounted at /data) +# Use the same host path as TRANSMISSION_OPENVPN_DATA so both containers see downloads at /data +SONARR_DOWNLOADS_PATH=/mnt/torrent + +# NFS server hostname or IP address +SONARR_NFS_SERVER= + +# NFS device path for Sonarr backups, mounted at /config/Backups (must include leading colon, e.g. :/mnt/pool/sonarr-backups) +SONARR_BACKUPS_NFS_DEVICE= + +# Static IP on the external arr_network (172.31.0.0/24) so other arr containers can reach Sonarr +SONARR_IP=172.31.0.30 diff --git a/Sonarr/docker-compose.yaml b/Sonarr/docker-compose.yaml new file mode 100644 index 0000000..162915a --- /dev/null +++ b/Sonarr/docker-compose.yaml @@ -0,0 +1,51 @@ +services: + app: + image: linuxserver/sonarr:${SONARR_VERSION:-latest} + container_name: sonarr-app + environment: + - PUID=${SONARR_PUID:-1000} + - PGID=${SONARR_PGID:-1000} + - TZ=${SONARR_TZ:-America/Los_Angeles} + volumes: + - sonarr-config:/config + # Sonarr's default backup folder, stored on NFS so backups survive loss of the Docker host + - sonarr-backups:/config/Backups + - ${SONARR_TV_PATH}:/tv + # Same host path + container path as Transmission (/data) so no Remote Path Mapping is needed + - ${SONARR_DOWNLOADS_PATH}:/data + ports: + - ${SONARR_PORT:-8989}:8989 + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8989/ping"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 30s + logging: + driver: json-file + options: + max-size: 10m + deploy: + resources: + limits: + memory: 1g + networks: + arr_network: + ipv4_address: ${SONARR_IP:-172.31.0.30} + restart: unless-stopped + +volumes: + sonarr-config: + name: sonarr-config + driver: local + sonarr-backups: + name: sonarr-backups + driver: local + driver_opts: + type: nfs + o: "addr=${SONARR_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" + device: "${SONARR_BACKUPS_NFS_DEVICE}" + +networks: + arr_network: + external: true