services: plex: 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 environment: - PGID=${PGID} - PUID=${PUID} - TZ=${TZ} - VERSION=latest volumes: configplex: driver: local-persist driver_opts: mountpoint: $HOST_CONFIG_PATH/Plex