Add docker-compose.yaml
This commit is contained in:
commit
39699af9fb
|
|
@ -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
|
||||||
Loading…
Reference in New Issue