# Rayserver Plex Setup (Session 2026-06-01)

## Hardware
- **GPU:** GTX 1050 Ti (CC 6.1, 4GB VRAM) — NVIDIA driver 580.159.03, CUDA 13.0
- **NVIDIA Docker runtime:** Available (nvidia-container-toolkit 1.19.1 installed)
- **RAM:** Sufficient for `/dev/shm` transcode (16+ GB)

## Drives with media
- `/mnt/media` (ext4, 916G) — `Videos/`, `Music/`, `Pictures/`, `Audiobooks/` on Extreme SSD
- `/mnt/wd-passport` (NTFS, 2.8TB) — `Videos/`, `Photos/` (also has Immich data)
- `/mnt/seagate8tb` (ext4, 7.3TB) — `Music/`, `Photos/`, `Videos/`, Immich data

## Active media mounts (in docker-compose.yml)
- `/mnt/seagate8tb:/mnt/seagate8tb:ro` — added 2026-06-02 (first media mount)

## Server network
- **LAN IP:** `192.168.50.98`
- **Plex URL:** `http://192.168.50.98:32400/web`
- **Docker compose:** `/home/ray/docker/plex/docker-compose.yml`
- **Config:** `/home/ray/docker/plex/config/`

## Setup notes
- Host network mode required for discovery
- `/dev/dri:/dev/dri` for GPU transcoding
- `/dev/shm:/transcode` for RAM-based transcoding
- Media mounts deliberately added **after** first run (user preference)
- Claim token flow: add `PLEX_CLAIM`, start with `up -d`, remove after "Token obtained successfully" in logs

## Plex Pass
- User has an active Plex Pass — hardware transcoding is enabled
