diff --git a/infra/arr-stack/.env.example b/infra/arr-stack/.env.example index edcca00..ae3362f 100644 --- a/infra/arr-stack/.env.example +++ b/infra/arr-stack/.env.example @@ -2,6 +2,8 @@ ARR_ROOT=/data/arr PUID=1000 PGID=1000 TZ=America/Mexico_City +ARR_DNS_PRIMARY=1.1.1.1 +ARR_DNS_SECONDARY=8.8.8.8 PROWLARR_PORT=9696 RADARR_PORT=7878 diff --git a/infra/arr-stack/README.md b/infra/arr-stack/README.md index b211baa..2306b29 100644 --- a/infra/arr-stack/README.md +++ b/infra/arr-stack/README.md @@ -17,6 +17,10 @@ Services: Persistent storage defaults to `/data/arr`. +Containers use explicit DNS servers from `.env` through `ARR_DNS_PRIMARY` and +`ARR_DNS_SECONDARY`. Defaults are `1.1.1.1` and `8.8.8.8`; set them to your +router, Pi-hole, or Tailscale DNS addresses if needed. + ## Start ```bash diff --git a/infra/arr-stack/docker-compose.yml b/infra/arr-stack/docker-compose.yml index cd1aa18..f01fb4b 100644 --- a/infra/arr-stack/docker-compose.yml +++ b/infra/arr-stack/docker-compose.yml @@ -2,6 +2,9 @@ name: homelab-arr x-linuxserver-common: &linuxserver-common restart: unless-stopped + dns: &arr-dns + - ${ARR_DNS_PRIMARY:-1.1.1.1} + - ${ARR_DNS_SECONDARY:-8.8.8.8} environment: PUID: ${PUID:-1000} PGID: ${PGID:-1000} @@ -14,6 +17,7 @@ services: image: ${FLARESOLVERR_IMAGE:-ghcr.io/flaresolverr/flaresolverr:latest} container_name: ${FLARESOLVERR_CONTAINER_NAME:-arr-flaresolverr} restart: unless-stopped + dns: *arr-dns environment: LOG_LEVEL: ${FLARESOLVERR_LOG_LEVEL:-info} TZ: ${TZ:-America/Mexico_City} @@ -73,6 +77,7 @@ services: image: ${KAPOWARR_IMAGE:-mrcas/kapowarr:latest} container_name: ${KAPOWARR_CONTAINER_NAME:-arr-kapowarr} restart: unless-stopped + dns: *arr-dns environment: PUID: ${PUID:-1000} PGID: ${PGID:-1000} @@ -90,6 +95,7 @@ services: image: ${SUWAYOMI_IMAGE:-ghcr.io/suwayomi/suwayomi-server:preview} container_name: ${SUWAYOMI_CONTAINER_NAME:-arr-suwayomi} restart: unless-stopped + dns: *arr-dns environment: PUID: ${PUID:-1000} PGID: ${PGID:-1000} @@ -106,6 +112,7 @@ services: image: ${MAINTAINERR_IMAGE:-ghcr.io/jorenn92/maintainerr:latest} container_name: ${MAINTAINERR_CONTAINER_NAME:-arr-maintainerr} restart: unless-stopped + dns: *arr-dns environment: PUID: ${PUID:-1000} PGID: ${PGID:-1000}