2022-09-06 17:42:20 +00:00
version : "3.7"
services :
server :
2024-08-27 02:48:04 +00:00
image : linuxserver/plex:1.40.5@sha256:1b7e8833b689c70daaa76d1b75a80df6415d58635d905f1018d4f21a7ea580b3
2022-09-06 17:42:20 +00:00
restart : on -failure
hostname : "${DEVICE_HOSTNAME}"
2024-05-16 05:01:28 +00:00
network_mode : host
2022-09-06 17:42:20 +00:00
environment :
- PUID=1000
- PGID=1000
- VERSION=docker
2024-05-16 05:01:28 +00:00
# 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
2022-09-06 17:42:20 +00:00
volumes :
- ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/transcode:/transcode
2024-07-16 03:03:30 +00:00
- ${UMBREL_ROOT}/data/storage/downloads:/downloads