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/*.yaml
|
||||||
services/custom/*.yml
|
services/custom/*.yml
|
||||||
services/generated/*.yaml
|
services/generated/*.yaml
|
||||||
|
|
||||||
|
authelia/*
|
|
@ -3,11 +3,16 @@ services:
|
||||||
image: ghcr.io/linuxserver/plex
|
image: ghcr.io/linuxserver/plex
|
||||||
container_name: plex
|
container_name: plex
|
||||||
restart: always
|
restart: always
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "32400:32400"
|
- "32400:32400"
|
||||||
- "32400:32400/udp"
|
- "32400:32400/udp"
|
||||||
- "32469:32469"
|
- "32469:32469"
|
||||||
- "32469:32469/udp"
|
- "32469:32469/udp"
|
||||||
|
- "32410:32410/udp"
|
||||||
|
- "32412:32412/udp"
|
||||||
|
- "32413:32413/udp"
|
||||||
|
- "32414:32414/udp"
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri:/dev/dri # for hardware transcoding
|
- /dev/dri:/dev/dri # for hardware transcoding
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -3,11 +3,16 @@ services:
|
||||||
image: ghcr.io/linuxserver/plex
|
image: ghcr.io/linuxserver/plex
|
||||||
container_name: plex
|
container_name: plex
|
||||||
restart: always
|
restart: always
|
||||||
|
network_mode: host
|
||||||
ports:
|
ports:
|
||||||
- "32400:32400"
|
- "32400:32400"
|
||||||
- "32400:32400/udp"
|
- "32400:32400/udp"
|
||||||
- "32469:32469"
|
- "32469:32469"
|
||||||
- "32469:32469/udp"
|
- "32469:32469/udp"
|
||||||
|
- "32410:32410/udp"
|
||||||
|
- "32412:32412/udp"
|
||||||
|
- "32413:32413/udp"
|
||||||
|
- "32414:32414/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- configplex:/config
|
- configplex:/config
|
||||||
- torrents:/torrents
|
- torrents:/torrents
|
||||||
|
|
Loading…
Reference in New Issue