[Komodo] admin: Write Stack File: update compose.yaml
This commit is contained in:
parent
365b0827fd
commit
783b994eb6
1 changed files with 22 additions and 2 deletions
24
compose.yaml
24
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue