change to host network mode

This commit is contained in:
nmfretz 2024-05-15 13:24:23 +10:00
parent 7e1b3f64b9
commit 64de6c1692

View File

@ -5,24 +5,25 @@ services:
image: linuxserver/plex:1.40.2@sha256:15eaab9b1447e413b3f28df1cad8e5c87e4a06ac2b0eaf09aca8c6ae11feed3c image: linuxserver/plex:1.40.2@sha256:15eaab9b1447e413b3f28df1cad8e5c87e4a06ac2b0eaf09aca8c6ae11feed3c
restart: on-failure restart: on-failure
hostname: "${DEVICE_HOSTNAME}" hostname: "${DEVICE_HOSTNAME}"
network_mode: host
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- VERSION=docker - VERSION=docker
ports: # ports:
- 32400:32400 # - 32400:32400
# Plex Companion # # Plex Companion
- 3005:3005/tcp # - 3005:3005/tcp
# Roku via Plex Companion # # Roku via Plex Companion
- 8324:8324/tcp # - 8324:8324/tcp
# Plex DLNA Server # # Plex DLNA Server
- 32469:32469/tcp # - 32469:32469/tcp
- 1900:1900/udp # - 1900:1900/udp
# Network discovery # # Network discovery
- 32410:32410/udp # - 32410:32410/udp
- 32412:32412/udp # - 32412:32412/udp
- 32413:32413/udp # - 32413:32413/udp
- 32414:32414/udp # - 32414:32414/udp
volumes: volumes:
- ${APP_DATA_DIR}/data/config:/config - ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/transcode:/transcode - ${APP_DATA_DIR}/data/transcode:/transcode