2024-05-05 11:05:51 +02:00
|
|
|
services:
|
|
|
|
# Jellyfin
|
|
|
|
jellyfin:
|
|
|
|
image: jellyfin/jellyfin:latest
|
|
|
|
container_name: jellyfin
|
|
|
|
profiles:
|
|
|
|
- jellyfin
|
2024-05-12 12:00:12 +02:00
|
|
|
restart: on-failure:5
|
2024-05-05 11:05:51 +02:00
|
|
|
depends_on:
|
|
|
|
- caddy
|
|
|
|
volumes:
|
|
|
|
- jellyfin_config:/config
|
2024-08-19 00:24:48 +02:00
|
|
|
- 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
|
2024-05-05 11:05:51 +02:00
|
|
|
- jellyfin_cache:/cache
|
2024-08-19 00:24:48 +02:00
|
|
|
# Hardware acceleration (For Intel and AMD GPUs)
|
|
|
|
devices:
|
|
|
|
- /dev/dri:/dev/dri
|
2024-05-05 11:05:51 +02:00
|
|
|
networks:
|
|
|
|
- infra-network
|
|
|
|
security_opt:
|
|
|
|
- no-new-privileges:true
|
2024-05-05 22:38:14 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
jellyfin_config:
|
|
|
|
name: jellyfin_config
|
2024-08-19 00:24:48 +02:00
|
|
|
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
|
2024-05-05 22:38:14 +02:00
|
|
|
jellyfin_cache:
|
|
|
|
name: jellyfin_cache
|