Add DNS defaults to arr stack

This commit is contained in:
juvdiaz 2026-06-27 14:10:17 -06:00
parent 25c05041da
commit d61c1eebf7
3 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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}