Deploy Komga
Before using the one-click template, here is a minimal Docker Compose example for self-hosting Komga.
If you're new to Docker Compose, check out our guide on how to self-host a Docker Compose app. You can also browse more examples in our Docker Compose library.
Self-host Komga with Docker Compose (minimal)
services:
komga:
image: gotson/komga:latest
ports:
- "25600:25600"
volumes:
- komga-config:/config
- komga-data:/data
volumes:
komga-config:
komga-data:
Deploy Komga on Hostim.dev (One-Click)
Komga is an open-source, self-hosted media server for comics, manga, BDs, magazines, and eBooks. With Hostim.dev, you can deploy Komga with Docker and persistent storage in one click – complete with automatic domain and HTTPS.
📚 Organize, browse, and read your comic and manga library anywhere.
Guest project runs for 1 hour. Log in to save and extend to 5 days.
Why Host Komga on Hostim.dev?
- One-click Docker deployment
- Persistent volumes (
/config,/data) - Automatic HTTPS and domain
- Real-time logs and metrics
- Fully self-hosted and private
What's included
| Resource | Details |
|---|---|
| App | gotson/komga Docker image |
| Volumes | /config, /data |
| Domain | Free *.hostim.dev subdomain |
| SSL | Let’s Encrypt (auto-enabled) |
| Port | 25600 |
How to Deploy
- Go to your Hostim.dev dashboard.
- Click Create Project → Use a Template.
- Select Komga.
- Choose a resource plan.
- Deploy.
FAQ
Where does Komga store its data?
Komga stores metadata and settings in /config and your actual media
files in /data.
Does Komga require a database?
No. Komga uses an embedded database in the config volume.
How do I upload my comic/manga library?
Connect via Bastion and upload files into the volume mounted at
/data
.
How do I add multiple libraries?
Add new library paths in the Komga UI under Settings → Libraries.
Can Komga run behind a reverse proxy?
Yes. Forward traffic to port 25600.
Why is Komga not detecting files?
Confirm that folders contain supported formats and that permissions allow Komga to read the files.
How do I back up Komga?
Back up both the config volume and your data media library.
How do I update Komga?
Docker: docker compose pull && docker compose up -d
Hostim.dev: redeploy the app.
Alternatives
- Kavita — feature-rich manga/comic server
- Ubooquity — lightweight ebook/comic server
- Calibre Web — ebook-focused reader
Source + Docs
- GitHub: https://github.com/gotson/komga
- Documentation: https://komga.org
Looking for something else? Browse all templates →