umbrel-apps/plex/docker-compose.yml
2024-06-23 18:30:08 -07:00

32 lines
1.0 KiB
YAML

version: "3.7"
services:
server:
image: linuxserver/plex:1.40.3@sha256:36f7953fb618f99bfb456c80e7ec94432d8af3c1bfcc034e46a018cc64b534b7
restart: on-failure
hostname: "${DEVICE_HOSTNAME}"
network_mode: host
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
# Currently running in host network mode to allow for UPnP discovery (Plex DLNA server) and so that Docker does not complain about port 1900/udp being in use (can be shared, for example with Home Assistant).
# ports:
# - 32400:32400
# # Plex Companion
# - 3005:3005/tcp
# # Roku via Plex Companion
# - 8324:8324/tcp
# # Plex DLNA Server
# - 32469:32469/tcp
# - 1900:1900/udp
# # Network discovery
# - 32410:32410/udp
# - 32412:32412/udp
# - 32413:32413/udp
# - 32414:32414/udp
volumes:
- ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/transcode:/transcode
- ${UMBREL_ROOT}/data/storage/downloads:/downloads