Fix sabnzbd compose: define arr-env anchor before use

Move SABnzbd after prowlarr so the YAML anchor resolves.
This commit is contained in:
tim 2026-07-22 12:00:16 -07:00
parent 07ae1c0c71
commit d55f3220d9

View file

@ -81,21 +81,6 @@ services:
- ${CONFIG_DIR}/qbittorrent:/config - ${CONFIG_DIR}/qbittorrent:/config
- ${DATA_DIR}:/data # single shared tree -> hardlinks - ${DATA_DIR}:/data # single shared tree -> hardlinks
# ---------------------------------------------------------- usenet / NZB #
# SABnzbd talks to Usenet providers over SSL (no VPN required).
# Incomplete + complete under /data/usenet so Sonarr/Radarr can hardlink.
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd
restart: unless-stopped
networks: [arr-net]
ports:
- "${SABNZBD_PORT:-8085}:8080"
environment: *arr-env
volumes:
- ${CONFIG_DIR}/sabnzbd:/config
- ${DATA_DIR}:/data
# -------------------------------------------------------------- indexers # # -------------------------------------------------------------- indexers #
prowlarr: prowlarr:
image: lscr.io/linuxserver/prowlarr:latest image: lscr.io/linuxserver/prowlarr:latest
@ -129,6 +114,21 @@ services:
# ports: # ports:
# - "8191:8191" # - "8191:8191"
# ---------------------------------------------------------- usenet / NZB #
# SABnzbd talks to Usenet providers over SSL (no VPN required).
# Incomplete + complete under /data/usenet so Sonarr/Radarr can hardlink.
sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd
restart: unless-stopped
networks: [arr-net]
ports:
- "${SABNZBD_PORT:-8085}:8080"
environment: *arr-env
volumes:
- ${CONFIG_DIR}/sabnzbd:/config
- ${DATA_DIR}:/data
# -------------------------------------------------------------------- TV # # -------------------------------------------------------------------- TV #
sonarr: sonarr:
image: lscr.io/linuxserver/sonarr:latest image: lscr.io/linuxserver/sonarr:latest