[Unit] Description=Plex Media Server (quadlet, rootless fleet identity) After=network-online.target Wants=network-online.target [Container] Image=lscr.io/linuxserver/plex:1.43.5.11079-b3b13e506-ls330@sha256:01a53d9c7adcbb3701fbb0a4230c0a37c85453759b6b05a67356c3c7a09de08d ContainerName=plex Network=dankserver_appnet:alias=plex Environment=PUID=0 Environment=PGID=0 Environment=TZ=America/Los_Angeles Volume=/var/lib/plexmediaserver:/config # The container path stays /mnt/entropy on purpose: every path Plex recorded in # its own database is written against it, so swapping the HOST source of this bind # to the overlay view re-points Plex at the sidecars without touching its DB. # Read-only: Plex consumes the NFO files Jellyfin writes and writes no metadata. Volume=/mnt/media:/mnt/entropy:ro UnitConfigItem=ConditionPathIsMountPoint=/mnt/media PublishPort=32400:32400 [Service] Restart=always RestartSec=5 [Install] WantedBy=default.target