Komga logo

Komga

Media server for comics, manga, and eBooks

Alternative to: comixology, crunchyroll manga


Komga is a media server for your comics, mangas, BDs, magazines and eBooks. Browse your libraries through a responsive web UI with a built-in reader supporting double-page, webtoon, and continuous scroll modes, and organize books into collections and read lists with per-user access control. It exposes OPDS, Kobo Sync, and KOReader Sync, plus a REST API for automation.

Komga Docker Compose example

Self-host Komga on your own server, homelab, or VPS starting from this Docker Compose example. It runs Komga in Docker containers using the official gotson/komga:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  komga:
    image: gotson/komga:latest
    volumes:
      # Config directory: holds the Komga database, settings, users, and read progress.
      - config:/config
      # Data directory where your comic/manga/eBook libraries live.
      - data:/data
    environment:
      # Container timezone, e.g. Europe/London or America/New_York.
      TZ: "UTC"
    restart: unless-stopped

volumes:
  config:
  data:

Prefer a managed setup? WinterFlow installs, configures, and updates Komga for you using this same Docker Compose configuration.