From 783b994eb60d203e9be8a27b1c7df49d027420eb Mon Sep 17 00:00:00 2001 From: komodo Date: Sat, 7 Feb 2026 13:54:11 +0100 Subject: [PATCH] [Komodo] admin: Write Stack File: update compose.yaml --- compose.yaml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 0a30170..7685d10 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,6 +3,25 @@ networks: name: media_network services: + wireguard: + image: lscr.io/linuxserver/wireguard:latest + container_name: wireguard + cap_add: + - NET_ADMIN + - SYS_MODULE + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/Berlin + volumes: + - /app-config/wireguard/:/config + - /lib/modules:/lib/modules # Notwendig für WireGuard im Kernel + ports: + - 7777:7777 # SABnzbd Web-UI Port wird hier nach außen gereicht + sysctls: + - net.ipv4.conf.all.src_valid_mark=1 + restart: unless-stopped + sabnzbd: image: lscr.io/linuxserver/sabnzbd:latest container_name: sabnzbd @@ -10,11 +29,12 @@ services: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin + depends_on: + - wireguard + network_mode: "service:wireguard" # Teilt sich das Netzwerk mit WireGuard volumes: - /app-config/sabnzbd/config:/config - usenet:/usenet - ports: - - 7777:7777 restart: unless-stopped volumes: