Self-hosted app·Audio, podcasts and books
Komga hosting on a Swiss VPS.
Komga hosting on a Swiss VPS in ALP1: 2 vCPU, 2 GB RAM and 80 GB NVMe. Docker setup, sizing, S3 storage for large libraries, legal limits.
- Docker
- Caddy
- rclone
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port10 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 2 vCPU, 2 GB RAM
- 80 GB NVMe local storage
- 10 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/07
Short answer.
Yes. Komga runs on our VPS Starter — 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer for $6.99 — in ALP1, our facility in the Swiss Alps, as a single Docker container on Debian 13. The plan's real limit is disk, not CPU. Komga itself is modest, but a comics library is almost entirely image data and 80 GB fills sooner than people expect, so keep the application and its SQLite databases on local NVMe and, once the books outgrow it, move the books (never the database) into an S3 bucket from our object storage.
The other thing that decides whether this works is what goes into it. A Komga server holding books you bought DRM-free or scanned from your own shelves, read by you and the people close to you, is exactly what this plan is for. A Komga server with accounts handed out on a forum is distribution, and the section on limits below explains how we handle that.
02/07
What Komga is and who runs it.
Komga is a self-hosted media server for comics, manga, BDs, magazines and eBooks. It is written in Kotlin on Spring Boot, published under the MIT licence by its lead developer, gotson, and supported mostly through the project's GitHub and Discord. It reads CBZ and CBR comic archives, EPUB and PDF, treats each sub-folder of a library as a series, and serves the result through a browser reader, a REST API and OPDS v1 and v2 feeds. Accounts can be restricted per library, by age rating and by label, which is what makes one server workable for a household that includes children.
The client side is where Komga earns its following. Mihon on Android, Panels on iOS and Chunky on iPad all have documented setups, any OPDS reader works, and KOReader can sync reading position. A Kobo e-reader can be pointed at Komga instead of Kobo's own servers: EPUB books sync to the device with their covers, reading progress goes both ways, and the Docker image bundles Kepubify to convert EPUB to KEPUB as the Kobo downloads it. Komga's documentation even describes moving a Kobo over from Calibre-Web by editing one line on the device.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/07
Requirements and sizing.
Komga's Docker documentation gives the two numbers that matter. The Java process is usually capped at about 1 GB of heap by default, raised with JAVA_TOOL_OPTIONS=-Xmx… if OutOfMemoryException shows up in the logs, and the /config folder that holds the databases must sit on a local filesystem, never on CIFS or NFS. The web interface and API listen on port 25600; from the internet you only need 80 and 443 for a reverse proxy with a Let's Encrypt certificate. CPU is spent during scans, when Komga opens each new file, reads its metadata and renders thumbnails, and during the optional hashing passes. Reading a book afterwards costs very little.
On VPS Starter, a 1 GB heap leaves roughly 1 GB for Debian, Docker and Caddy, which is enough for a personal library. Allow about 10 GB for the system, Docker images and Komga's own databases, and around 70 GB remains for books; at an average of 50 MB per issue that is roughly 1,400 issues (theoretical), and manga volumes scanned at high resolution can be two or three times that size. Transfer is rarely the constraint: 10 TB a month at 50 MB per issue is about 200,000 issues read (theoretical).
| Situation | Plan | Monthly |
|---|---|---|
| Personal or household library that fits in ~70 GB | VPS Starter — 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps | $6.99 |
| Same readers, library of several hundred GB | VPS Starter + 1 TB object storage bucket | $14.95 (theoretical total) |
| Komga next to Calibre-Web or Kavita, file hashing on a large library, or a heap above 1 GB | VPS Standard — 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer | $12.99 |
04/07
How to deploy it with us.
Order VPS Starter with Debian 13 from this deploy link, and point a DNS record such as komga.example.com at the server's IPv4 before you start, so the certificate is issued on the first attempt. Then install Docker Engine from Docker's own repository, which supports Debian 13 "trixie":
apt update && apt install -y ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
echo "deb [signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian trixie stable" \
> /etc/apt/sources.list.d/docker.list
apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
mkdir -p /srv/komga/config /srv/komga/library && chown -R 1000:1000 /srv/komgaTwo details in the Compose file below differ from the upstream example, and both are deliberate. The port is bound to 127.0.0.1: Docker manages its own iptables rules, and its documentation warns that rules written directly with nft are not supported, so binding to loopback sidesteps the question and leaves Komga reachable only through the proxy. The library is mounted read-only, which protects your files from a misclick at the price of the features that rewrite them (CBR-to-CBZ conversion, extension repair, deleting books from disk).
# /srv/komga/compose.yaml
services:
komga:
image: gotson/komga:1.x
container_name: komga
user: "1000:1000"
ports:
- "127.0.0.1:25600:25600"
environment:
- TZ=Europe/Zurich
- JAVA_TOOL_OPTIONS=-Xmx1g
volumes:
- /srv/komga/config:/config
- /srv/komga/library:/data:ro
restart: unless-stoppedThe 1.x tag follows the current major release; latest tracks the latest commit, and exact versions are published if you prefer to pin. Start it with docker compose -f /srv/komga/compose.yaml up -d.
Komga asks the first visitor to create an account, and that account administers the server, so create it before anything is public. Open an SSH tunnel from your own machine (ssh -L 25600:127.0.0.1:25600 root@your-vps), browse to http://localhost:25600 and register. Only then install Caddy with apt install caddy and give it a short /etc/caddy/Caddyfile:
komga.example.com {
reverse_proxy 127.0.0.1:25600
}Caddy obtains the certificate and sets the X-Forwarded-For, -Proto and -Host headers Komga needs behind a proxy. HTTPS is not optional here: OPDS clients authenticate with HTTP basic auth, and a Kobo carries its API key inside the sync URL.
Komga reads books from the filesystem rather than through a browser upload. Copy them with rsync or SFTP into /srv/komga/library/<Series name>/, create a library pointing at /data, and either set a scan interval or let it scan on startup. For a Kobo, give the user the KOBO_SYNC and FILE_DOWNLOAD roles, generate an API key in the account settings, and set api_endpoint=https://komga.example.com/kobo/<api_key> under [OneStoreServices] in the device's Kobo eReader.conf.
The part you cannot rebuild is /srv/komga/config: database.sqlite and tasks.sqlite, with your users, read progress and edited metadata. Stop the container while restic copies that directory and send it to a bucket through restic's native S3 backend, or add our daily VPS backups for 20 % on top of the plan price.
- 01
When the library outgrows 80 GB
Our object storage is an S3-compatible bucket, not a disk you attach; there is no
/dev/vdbto format. For a read-mostly media libraryrclone mountis the right tool, and Komga is a textbook read-mostly workload. Configure an S3 remote with the endpoint and access key from your client panel and the secret key from the ticket we send at delivery, then mount the bucket where the library used to be:apt install -y rclone fuse3 rclone mount chs3:komga-books /srv/komga/library \ --read-only --allow-other \ --vfs-cache-mode full --vfs-cache-max-size 20G \ --dir-cache-time 1h--allow-otherneedsuser_allow_otherin/etc/fuse.confso the container's UID can read the mount, and the mount has to exist before the container starts, so run it as a systemd unit orderedBefore=docker.service. The database stays on NVMe, because Komga's documentation is explicit that/configmust not live on a network share, and an rclone mount is one. In the library settings, enable "Force directory modified time": S3 has no real directories, so the scanner has no directory timestamps to trust otherwise. Leave "Compute hash for files" and "Compute hash for pages" off, since hashing reads every byte and on a 1 TB library that means pulling the whole terabyte through the mount; you lose duplicate detection and restore-from-trash, which is the honest cost. KOReader sync needs its own hash, so enable that one only if you use it. Bucket traffic is unlimited; on the VPS side, even a worst case where Komga reads the full 1 TB once is a tenth of the monthly 10 TB (theoretical).
05/07
Komga or Calibre-Web.
Readers looking for a Calibre-Web server usually have prose eBooks already curated in Calibre desktop, and for them Calibre-Web is often the better fit. It is a Python web application that serves an existing Calibre library: it reads Calibre's metadata.db, listens on port 8083, and offers OPDS, Kobo sync and one-click sending to an e-reader by e-mail. A collection of novels with years of Calibre metadata keeps that work under Calibre-Web; a collection of CBZ issues and manga volumes is better served by Komga's series handling and reader apps. Running both behind the same Caddy is reasonable, though Komga's 1 GB heap plus Calibre-Web makes 2 GB tight, which is the main reason to take VPS Standard.
Calibre-Web ships with the login admin / admin123; change it before the service ever faces the internet, and leave its public registration option off for the reasons in the next section. Outbound port 25 is open on every VPS, so "send to e-reader" can deliver directly, but mail from a fresh server IP is more readily accepted through an authenticated relay on port 587.
06/07
Cost.
| Item | Monthly |
|---|---|
| VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps) | $6.99 |
| Daily backups (+20 %) | +$1.40 |
| Object storage: 250 GB / 1 TB / 5 TB | $1.99 / $7.96 / $39.80 |
| Extra IPv4 | $2.00 |
| Priority support | $10.00 |
| Example: Starter + daily backups + 1 TB bucket | $16.35 (theoretical) |
Paid yearly, Starter comes to $62.99 (≈ −25 %, theoretical). The plan includes one IPv4 address and 10 TB of transfer per month; VPS traffic is metered against that allowance, not unmetered. We provide the server; Komga, Caddy and rclone are yours to run and update. Payment is in crypto only — Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins — with prices and balances in US dollars. Top-ups run from $25 to $5,000 with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, so a $100 top-up becomes a $110 balance, about 15 months of Starter (theoretical); the unused paid part of a top-up is refundable within 14 days. Every plan is listed on the pricing page.
07/07
Limits and acceptable use.
Swiss law draws the line roughly where a Komga server needs it. Private use covers your personal sphere and a circle of people closely connected to you, such as family and friends; the Federal Institute of Intellectual Property specifies that this means your closest friends, not your department at work or a few hundred contacts on a social network. Downloading for private use is permitted, but uploading works so that others can fetch them is not private use, even from a personal site. In practice: your household on per-user accounts is fine. Accounts for a Discord server, an OPDS URL posted publicly, or Komga used as a download point for a group are not, and we do not host them. Content must be legal and the use personal.
A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Since 1 April 2020, article 39d of the Copyright Act adds a stay-down duty for hosting providers, but only where a work was already made available unlawfully through the same service, the provider was notified, and the service creates a particular risk of infringement. That description fits a public sharing service far better than a login-only reading server, which is one more reason to keep yours private.
Komga stores each reader's e-mail address and reading history, which is personal data under the revised Federal Act on Data Protection, in force since 1 September 2023. If some of your readers live in the EU, the European Commission confirmed on 15 January 2024 that Switzerland still provides an adequate level of protection, so their data can flow here without additional safeguards. On US reach we stay deliberately narrow: as of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That is a statement about one legal route, not a claim that a Swiss server is beyond every foreign court; the longer discussion is on our offshore hosting page.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterRecommendedStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Is 2 GB of RAM enough for Komga?
For a personal library, yes. The default heap is about 1 GB and the remainder covers Debian, Docker and Caddy. The signs you have outgrown it are OutOfMemoryException entries in docker logs komga or the system swapping during scans; at that point move to VPS Standard (4 GB) and raise -Xmx to 2g.
Can the books live in object storage instead of the VPS disk?
Yes, through rclone mount with the library mounted read-only and "Force directory modified time" enabled. The /config directory with Komga's SQLite databases must stay on the VPS's local NVMe; Komga does not support it on a network share, and an S3 bucket is not a block device.
Can I let friends use my Komga server?
Close family and your closest friends fall within private use under Swiss law, and Komga lets you give each of them an account limited to the libraries you choose. A wider circle — colleagues, a forum, anyone holding the link — means making works available to the public, which our acceptable-use rules exclude.
Do I have to identify myself to order?
No-KYC: an email address is enough. Payment is in crypto, business customers included, and the details are on our no-KYC hosting page. Support runs through tickets opened from the client panel.
My Kobo syncs but covers or downloads fail behind Caddy. What now?
Kobo devices send an incorrect Host header, which Komga usually corrects on its own. When it cannot, set the "Kobo Sync external port" in Komga's server settings to the port in your api_endpoint, which behind Caddy is 443, then force a full sync from the account settings page.
Sources
Every fact on this page, with its source
Consulted 3 Nov 2026 unless noted.
Swiss law and authorities
- IPI, "Erlaubte Nutzungen" (private use: personal sphere and closely connected persons)ige.ch
- IPI, "Urheberrecht im Internet" (downloading for private use permitted, uploading not)ige.ch
- Federal Act on Copyright (CopA/LDA), art. 39d, in force since 1 April 2020 (RO 2020 1003)fedlex.admin.ch · verified 31 Oct 2026
- Federal Act on Data Protection (FADP), RS 235.1, in force since 1 September 2023fedlex.admin.ch
EU and other countries
Industry, providers and software
- gotson/komga on GitHub (MIT licence, Kotlin/Spring Boot, feature list)github.com
- janeczku/calibre-web README (Calibre database, port 8083, default credentials, Kobo sync, public registration)github.com
- Docker documentation, "Install Docker Engine on Debian" (Debian 13 Trixie supported, firewall limitations)docs.docker.com
Other references
- Komga documentation, "Introduction" (supported formats, platforms)komga.org
- Komga documentation, "Run with Docker" (default ~1 GB heap, JAVA_TOOL_OPTIONS, local /config only, image tags)komga.org
- Komga documentation, "Accessing the web interface" (default port 25600, first account creation)komga.org
- Komga documentation, "Libraries" (scan options, force directory modified time, file/page/KOReader hashing, CBZ conversion)komga.org
- Komga documentation, "Expose your server" (HTTPS, Caddy, X-Forwarded- headers)komga.org
- Komga documentation, "Read with Kobo" (roles, API key, EPUB-only sync, Kepubify, external port, migration from Calibre-Web) and reader listkomga.org
- Komga documentation, "Google Drive and rclone"komga.org
- IT Reseller, "Swico aktualisiert den Code of Conduct für Hosting Provider" (updated Code of Conduct Hosting, in force April 2025), 13 March 2025itreseller.ch
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
