infrastructure/docker-compose.jellyfin.yml
Bensuperpc b101480a01
Improve restart en failure
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-12 12:00:12 +02:00

28 lines
534 B
YAML

version: '3.9'
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:ro
- jellyfin_cache:/cache
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
jellyfin_config:
name: jellyfin_config
jellyfin_data:
name: jellyfin_data
jellyfin_cache:
name: jellyfin_cache