# Self-host Komga

> A media server for comics, manga, and digital books with a clean reading interface.

- Page: https://levelrail.com/templates/komga/
- JSON: https://levelrail.com/templates/komga.json
- Category: Media
- Licence: MIT (Permissive license)
- Source: https://github.com/gotson/komga
- Upstream docs: https://komga.org/docs/installation/docker

## Requirements
- Memory: about 256 MiB
- amd64: published, arm64: published
- Needs configuration before start: no
- Pinned image tag: 1.26.3

## Services

| Service | Image | Tag | Ports | Volumes |
| --- | --- | --- | --- | --- |
| komga | gotson/komga | 1.26.3 | 25600 | komga_config -> /config; komga_data -> /data |

## Deploy

### CLI

```bash
levelrail-cli templates deploy komga --name my-komga
```

### API

```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
  https://levelrail.example.com/api/v1/service-templates/komga/deploy
```

Create a token in the dashboard first. This one-click route deploys it as a trial app you can keep or remove.

## Questions

### Can I deploy Komga on Dokploy or Dokku?

The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list we compared does not have an entry with the same id for Komga, so on Dokploy you would use a Docker Compose application with the file from this page. Dokku deploys container images with its own commands, so the pinned image gotson/komga:1.26.3 is what you deploy there.

Self-host Komga, Komga docker compose file, deploy Komga on a VPS: this page lists the pinned image, ports, volumes and the commands for each.
