# koopa-prime — Jellyfin + qBittorrent
# Media source: /home/hernani/Downloads
services:
  jellyfin:
    image: docker.io/linuxserver/jellyfin:10.10.7
    container_name: koopa-prime-jellyfin
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Zurich
      - JELLYFIN_PublishedServerUrl=https://prime.hacktivism.ch
    volumes:
      - ./config/jellyfin:/config
      - ./cache:/cache
      - /home/hernani/Downloads:/media/downloads:ro
    ports:
      - "9022:8096"
    labels:
      org.hacktivism.service: jellyfin
      org.hacktivism.host_port: "9022"
      org.hacktivism.site: prime.hacktivism.ch
      org.hacktivism.managed_by: koopa-admin

  qbittorrent:
    image: docker.io/linuxserver/qbittorrent:5.0.4
    container_name: koopa-prime-qbittorrent
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Zurich
      - WEBUI_PORT=8080
      - WEBUI_PASSWORD=${WEBUI_PASSWORD}
      - TORRENTING_PORT=6881
    volumes:
      - ./config/qbittorrent:/config
      - /home/hernani/Downloads:/downloads
    ports:
      - "9023:8080"
      - "6881:6881"
      - "6881:6881/udp"
    labels:
      org.hacktivism.service: qbittorrent
      org.hacktivism.host_port: "9023"
      org.hacktivism.site: bt.hacktivism.ch
      org.hacktivism.managed_by: koopa-admin
