
services:

  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - USER_UID={{ service_user_id }}
      - USER_GID={{ service_group_id }}
      - TZ=Europe/Berlin     
    restart: always
    volumes:
      - {{ service_directory }}/config:/config
      - /mount/media:/media
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    ports:
      - '8096:8096'
    networks:
      - default

networks:
  default:
    ipam:
      driver: default
      config:
        - subnet: 172.5.0.0/16
          gateway: 172.5.0.1