Update compose.yaml
This commit is contained in:
parent
5481210e60
commit
135f9303d6
1 changed files with 2 additions and 25 deletions
27
compose.yaml
27
compose.yaml
|
|
@ -3,28 +3,6 @@ networks:
|
||||||
name: media_network
|
name: media_network
|
||||||
|
|
||||||
services:
|
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
|
|
||||||
- INTERNAL_CONTROL_MODS=true
|
|
||||||
- NETWORK_INTERFACES=eth0
|
|
||||||
- LOCAL_NETWORK=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,172.18.0.0/16
|
|
||||||
volumes:
|
|
||||||
- /app-config/wireguard/:/config
|
|
||||||
- /lib/modules:/lib/modules # Notwendig für WireGuard im Kernel
|
|
||||||
ports:
|
|
||||||
- 0.0.0.0: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:
|
sabnzbd:
|
||||||
image: lscr.io/linuxserver/sabnzbd:latest
|
image: lscr.io/linuxserver/sabnzbd:latest
|
||||||
container_name: sabnzbd
|
container_name: sabnzbd
|
||||||
|
|
@ -32,9 +10,8 @@ services:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
depends_on:
|
networks:
|
||||||
- wireguard
|
- media_network
|
||||||
network_mode: "service:wireguard" # Teilt sich das Netzwerk mit WireGuard
|
|
||||||
volumes:
|
volumes:
|
||||||
- /app-config/sabnzbd/config:/config
|
- /app-config/sabnzbd/config:/config
|
||||||
- usenet:/usenet
|
- usenet:/usenet
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue