Add docker-compose.yaml

This commit is contained in:
RomanNum3ral 2025-07-26 14:52:32 +00:00
commit 39699af9fb
1 changed files with 17 additions and 0 deletions

17
docker-compose.yaml Normal file
View File

@ -0,0 +1,17 @@
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
restart: unless-stopped
volumes:
- ./config:/config
- ./data:/data
- ./cache:/cache
ports:
- "8096:8096" # Jellyfin web UI
environment:
- PUID=1000 # Adjust according to your Pi user ID
- PGID=1000 # Adjust according to your Pi group ID
devices:
- /dev/dri:/dev/dri # For hardware acceleration (optional)
network_mode: host # Optionally use host networking if you have network performance issues