Plex: add port and enable host mode for networking
This commit is contained in:
parent
2164a0cd51
commit
04ec9a6748
|
@ -14,3 +14,5 @@ config.yaml
|
|||
services/custom/*.yaml
|
||||
services/custom/*.yml
|
||||
services/generated/*.yaml
|
||||
|
||||
authelia/*
|
|
@ -3,11 +3,16 @@ services:
|
|||
image: ghcr.io/linuxserver/plex
|
||||
container_name: plex
|
||||
restart: always
|
||||
network_mode: host
|
||||
ports:
|
||||
- "32400:32400"
|
||||
- "32400:32400/udp"
|
||||
- "32469:32469"
|
||||
- "32469:32469/udp"
|
||||
- "32410:32410/udp"
|
||||
- "32412:32412/udp"
|
||||
- "32413:32413/udp"
|
||||
- "32414:32414/udp"
|
||||
devices:
|
||||
- /dev/dri:/dev/dri # for hardware transcoding
|
||||
volumes:
|
||||
|
|
|
@ -3,11 +3,16 @@ services:
|
|||
image: ghcr.io/linuxserver/plex
|
||||
container_name: plex
|
||||
restart: always
|
||||
network_mode: host
|
||||
ports:
|
||||
- "32400:32400"
|
||||
- "32400:32400/udp"
|
||||
- "32469:32469"
|
||||
- "32469:32469/udp"
|
||||
- "32410:32410/udp"
|
||||
- "32412:32412/udp"
|
||||
- "32413:32413/udp"
|
||||
- "32414:32414/udp"
|
||||
volumes:
|
||||
- configplex:/config
|
||||
- torrents:/torrents
|
||||
|
|
Loading…
Reference in New Issue