Compare commits
2
Commits
3c2284ec38
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7d4866ede | ||
|
|
4d2e14187a |
+15
@@ -12,3 +12,18 @@
|
|||||||
# Built Visual Studio Code Extensions
|
# Built Visual Studio Code Extensions
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
|
|
||||||
|
# BEGIN reset-history environment exclusions
|
||||||
|
.env
|
||||||
|
.env.*
|
||||||
|
*.env
|
||||||
|
*.env.*
|
||||||
|
!.env.example
|
||||||
|
!.env.*.example
|
||||||
|
!*.env.example
|
||||||
|
!*.env.*.example
|
||||||
|
config/
|
||||||
|
cache/
|
||||||
|
*.swp
|
||||||
|
.DS_Store
|
||||||
|
# END reset-history environment exclusions
|
||||||
|
|||||||
@@ -1,2 +1,25 @@
|
|||||||
# jellyfin
|
# Jellyfin
|
||||||
|
|
||||||
|
Self-hosted media server for organizing and streaming movies, television, music, and other media.
|
||||||
|
|
||||||
|
## Deployment layout
|
||||||
|
|
||||||
|
- **Compose:** `/srv/docker/jellyfin/docker-compose.yml`
|
||||||
|
- **Static configuration/source:** no additional static configuration or build source
|
||||||
|
- **Non-secret environment:** none; there is no project-local `.env`
|
||||||
|
- **Secrets:** none; credentials and authentication state created through Jellyfin are application-managed state
|
||||||
|
- **NVMe application state:** `/srv/appdata/jellyfin/config` and `/srv/appdata/jellyfin/cache`
|
||||||
|
- **Bulk HDD data:** `/data/Data1/jellyfin`
|
||||||
|
- **Other mounts:** `/dev/dri` is passed through for hardware acceleration, with supplemental host group IDs
|
||||||
|
`44` and `993`
|
||||||
|
|
||||||
|
Secrets are never committed to this repository. No separate deployment secret
|
||||||
|
file is declared; sensitive application-managed state is stored under
|
||||||
|
`/srv/appdata/jellyfin/config`.
|
||||||
|
|
||||||
|
## Dependencies and recovery
|
||||||
|
|
||||||
|
- **Networks/dependencies:** Jellyfin uses the external `npm_proxy` network at `192.168.97.10` and the host `/dev/dri` device for hardware acceleration; no dependent services are declared
|
||||||
|
- **Back up:** `/srv/appdata/jellyfin/config` and the separately managed media under `/data/Data1/jellyfin`
|
||||||
|
- **Re-creatable:** the Jellyfin container and `/srv/appdata/jellyfin/cache`
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
services:
|
||||||
|
jellyfin:
|
||||||
|
image: jellyfin/jellyfin:latest
|
||||||
|
container_name: jellyfin
|
||||||
|
user: "1000:1000"
|
||||||
|
shm_size: "2gb"
|
||||||
|
restart: unless-stopped
|
||||||
|
# ports:
|
||||||
|
# - "8096:8096"
|
||||||
|
# - "8920:8920"
|
||||||
|
volumes:
|
||||||
|
- /srv/appdata/jellyfin/config:/config
|
||||||
|
- /srv/appdata/jellyfin/cache:/cache
|
||||||
|
- /data/Data1/jellyfin:/media
|
||||||
|
devices:
|
||||||
|
- /dev/dri:/dev/dri
|
||||||
|
group_add:
|
||||||
|
- "44"
|
||||||
|
- "993"
|
||||||
|
networks:
|
||||||
|
npm_proxy:
|
||||||
|
ipv4_address: 192.168.97.10
|
||||||
|
|
||||||
|
networks:
|
||||||
|
npm_proxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user