Deploy Komga in one click
A server and web reader for your comics, manga and ebooks
What is Komga?
Komga is an open-source media server for comics, manga, magazines and ebooks. You point it at folders of files, and it sorts them into libraries and series, reads the metadata embedded in them and lets you build collections and read lists. Books open in its web reader, which has several reading modes and works on phones, tablets and desktops, or in any app that speaks OPDS. It syncs with Kobo eReaders and KOReader.
People self-host Komga to keep the collection they already own in one place and pick up any book where they left off, on any device. One server can serve a household: each user sees only the libraries you give them, and age or label restrictions hide the rest. The catch: Komga organizes files, it does not find or download them, so the books are yours to bring.
Hosting Komga on Pethost
- You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
- New project opens at Komga, and you click Create project.
- In a minute or two Komga is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
- It is a project like any other: you or your agent can change it, roll it back or restore it.
Questions about Komga
Is Komga free and open source?
Yes. Komga is open source under the MIT license, free to use and modify, and its code is on GitHub at gotson/komga.
What file formats does Komga support?
Komga reads CBZ and CBR comic archives, PDF files and EPUB ebooks. Archives compressed with 7z are not supported: extract them and compress them again as zip.
Is there a Komga app for iPhone or Android?
Yes, from third parties: Mihon and Komelia on Android, and Paperback, Panels and Komic on iOS. Komelia also runs on Windows and Linux.
Does Komga work with Kobo e-readers?
Yes. With Kobo Sync, a Kobo eReader gets its EPUB books and read progress from Komga instead of Kobo's servers, converted to KEPUB on download. The user needs the KOBO_SYNC and FILE_DOWNLOAD roles and an API key.
What is the default Komga username and password?
There is none. The first time you open Komga, it asks you to create a user account with an email and a password, and you sign in with those from then on.
How much memory and disk does Komga need?
Komga is moderate: a Java server of about half a gigabyte; the disk is your comics and books. On Pethost the Starter plan is enough for it, with room for other apps beside it.
Komga Docker Compose file
The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.
Containers: komga (gotson/komga:1.x).
Volumes, in the nightly backup: config, data.
services:
komga:
image: gotson/komga:1.x
restart: unless-stopped
volumes:
# The image declares /config a volume: Komga's database and settings are in it.
- config:/config
# Writable, so that books can be copied in over SFTP.
- data:/data
volumes:
config:
data:
More in Media
- OwncastLive video and chat on a page of your own
- NavidromeA music server that streams your own collection
- RomMA library and in-browser player for your retro games
- LycheeA photo gallery to upload, sort and share your photos
- AudiobookshelfYour own audiobook and podcast server: listen in the browser or the apps, with progress kept across devices
- ImmichYour photos and videos, backed up from your phone, with smart search, faces and albums