Refactor compose.yaml for Emby configuration
Updated environment variables and network settings for Emby service.
This commit is contained in:
parent
aff23bd6d1
commit
5488588c88
1 changed files with 10 additions and 7 deletions
13
compose.yaml
13
compose.yaml
|
|
@ -14,16 +14,17 @@ services:
|
|||
- 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
|
||||
- /lib/modules:/lib/modules
|
||||
ports:
|
||||
- 0.0.0.0:8096:8096 # SABnzbd Web-UI Port wird hier nach außen gereicht
|
||||
- 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
|
||||
restart: unless-stopped
|
||||
|
||||
emby:
|
||||
|
|
@ -55,7 +56,9 @@ services:
|
|||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
network_mode: "service:wireguard"
|
||||
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