Plex: add port and enable host mode for networking
This commit is contained in:
parent
2164a0cd51
commit
04ec9a6748
|
@ -13,4 +13,6 @@ samples/custom*/*.yaml
|
|||
config.yaml
|
||||
services/custom/*.yaml
|
||||
services/custom/*.yml
|
||||
services/generated/*.yaml
|
||||
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
|
||||
|
|
|
@ -3,7 +3,7 @@ services:
|
|||
image: traefik
|
||||
container_name: traefik
|
||||
restart: always
|
||||
command:
|
||||
command:
|
||||
- --certificatesresolvers.le.acme.email=${ACME_MAIL}
|
||||
- --pilot.token=${PILOT_TOKEN}
|
||||
ports:
|
||||
|
@ -21,4 +21,4 @@ volumes:
|
|||
configtraefik:
|
||||
driver: local-persist
|
||||
driver_opts:
|
||||
mountpoint: $HOST_CONFIG_PATH/traefik
|
||||
mountpoint: $HOST_CONFIG_PATH/traefik
|
||||
|
|
Loading…
Reference in New Issue