mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
services:
|
|
# Jellyfin
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
container_name: jellyfin
|
|
profiles:
|
|
- jellyfin
|
|
restart: on-failure:5
|
|
depends_on:
|
|
- caddy
|
|
volumes:
|
|
- jellyfin_config:/config
|
|
- jellyfin_data_movies:/movies:rw
|
|
- jellyfin_data_series:/series:rw
|
|
- jellyfin_data_documentaries:/documentaries:rw
|
|
- jellyfin_data_musics:/musics:rw
|
|
- jellyfin_data_personal:/personal:rw
|
|
- jellyfin_cache:/cache
|
|
# Hardware acceleration (For Intel and AMD GPUs)
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
networks:
|
|
- infra-network
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
|
|
volumes:
|
|
jellyfin_config:
|
|
name: jellyfin_config
|
|
jellyfin_data_movies:
|
|
name: jellyfin_data_movies
|
|
jellyfin_data_series:
|
|
name: jellyfin_data_series
|
|
jellyfin_data_documentaries:
|
|
name: jellyfin_data_documentaries
|
|
jellyfin_data_musics:
|
|
name: jellyfin_data_musics
|
|
jellyfin_data_personal:
|
|
name: jellyfin_data_personal
|
|
jellyfin_cache:
|
|
name: jellyfin_cache |