Deploy Komga on Pethost in one click
A server and web reader for your comics, manga and ebooks
What happens
- You sign in to Pethost or make an account, with a passkey, GitHub or Google.
- No machine yet? You pick a plan, and we prepare one for you. The link waits in your browser until it is ready.
- New project opens at the app, and you click Create project.
- In a minute or two the app is live at its own address with HTTPS. Its secrets are made for it at random, and its data is in the nightly backup.
- It is a project like any other: its compose.yaml, its .env, its logs and a terminal are in the panel, and your agent can change it, roll it back or restore it.
First steps
Open the address and create the admin account on the first page. Do it right away: until then the page is open to whoever has the address. Books go into /data in the komga service: upload files in its Files tab or copy folders over SFTP, then add a library in Komga with /data as its root folder. Reader apps that speak OPDS connect to https://komga.sam.pethost.app/opds/v1.2/catalog.
What it runs
The template is this compose.yaml and the variables it writes into the project’s .env. Pethost runs the file as it is written.
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: