volumes:
  config: {}
  cache: {}
  media:
    external: true
  nextcloud_data:
    external: true
services:
  jellyfin:
    image: jellyfin/jellyfin
    container_name: jellyfin
    environment:
      - TZ=Europe/Helsinki
    ports:
      - 8096:8096
    networks:
      - proxy
      - authentik
    restart: unless-stopped
    volumes:
      - config:/config
      - cache:/cache
      - media:/media
      - /mnt/Storage/docker/nextcloud_data/FunctionalHacker/files/Media/Music:/media/Music
      - /etc/localtime:/etc/localtime:ro
    devices:
      - /dev/dri/renderD128:/dev/dri/renderD128
      - /dev/dri/card1:/dev/dri/card0
networks:
  proxy:
    external: true
  authentik:
    external: true
