update wstunnel
This commit is contained in:
parent
5488588c88
commit
b4bddfc2bd
1 changed files with 18 additions and 25 deletions
43
compose.yaml
43
compose.yaml
|
|
@ -4,29 +4,22 @@ networks:
|
|||
name: emby_sascha_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
|
||||
- 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
|
||||
ports:
|
||||
- 0.0.0.0:8096:8096 # Emby erbt diesen Port über network_mode
|
||||
sysctls:
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
- net.ipv4.ip_forward=1 # ← NEU: Forwarding im Container
|
||||
networks:
|
||||
- emby_sascha_network # ← NEU: Netzwerk zuweisen
|
||||
wstunnel-client:
|
||||
image: ghcr.io/erebe/wstunnel:latest
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
- emby_sascha_network
|
||||
command: >
|
||||
client
|
||||
-R 'tcp://9103:emby:8096'
|
||||
wss://tv.sascha-lutz.de/wg-tunnel
|
||||
depends_on:
|
||||
- emby
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
emby:
|
||||
image: lscr.io/linuxserver/emby:latest
|
||||
container_name: emby
|
||||
|
|
@ -43,6 +36,8 @@ services:
|
|||
- NVIDIA_DRIVER_CAPABILITIES=all
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- emby_sascha_network
|
||||
devices:
|
||||
- /dev/nvidia0:/dev/nvidia0
|
||||
- /dev/nvidiactl:/dev/nvidiactl
|
||||
|
|
@ -56,9 +51,7 @@ services:
|
|||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
network_mode: "service:wireguard" # Emby nutzt WireGuard-Netzwerk
|
||||
depends_on:
|
||||
- wireguard # ← NEU: Startreihenfolge sichern
|
||||
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue