diff --git a/apps/komga/README.md b/apps/komga/README.md new file mode 100644 index 0000000..ad4c802 --- /dev/null +++ b/apps/komga/README.md @@ -0,0 +1,17 @@ +## First login + +The first visit asks you to create the admin account, so until you've done that only you can open the app. Open it from your Cottage dashboard, enter an email address and password for the admin (the address is only a username; Komga won't write to it), then choose **Done** on the app's page so anyone you share the address with can reach it. + +## Your first library + +Choose the **+** next to **Libraries**, give the library a name and use `/library` as its root folder. Komga reads whatever is in that folder, one subfolder per series, and has no upload button of its own. + +Add readers under **Server → Users**, and choose which libraries each one can see. + +## Reader apps + +Komga speaks OPDS at `/opds/v1.2/catalog` on your app's address, which works with apps such as Panels, Chunky and KOReader. Kobo e-readers can sync through **Account settings → Kobo sync**. + +## Export your data + +Reading progress, collections and read lists stay inside Komga; your files stay exactly as you added them. Cottage also keeps nightly backups of the whole app. diff --git a/apps/komga/cottage.yml b/apps/komga/cottage.yml new file mode 100644 index 0000000..da420f1 --- /dev/null +++ b/apps/komga/cottage.yml @@ -0,0 +1,16 @@ +name: Komga +tagline: Your comics, manga and magazines, neatly shelved and ready to read. +category: Reading +description: >- + Komga turns folders of CBZ, CBR, PDF and EPUB files into a browsable library + with series, collections and reading lists. Read in the browser, or through + OPDS, Kobo sync and the Mihon extension on your other devices. +upstream: https://github.com/gotson/komga +website: https://komga.org +license: MIT +images: + - ref: gotson/komga:1.30.1 + digest: sha256:d43bb3b57aeeafd274ea805214f5da71ff9306accf012fb14cc13dedc3307212 +mobile_apps: true +# The first visit creates the admin account. +first_visit_claims_admin: true diff --git a/apps/komga/icon.svg b/apps/komga/icon.svg new file mode 100644 index 0000000..863b120 --- /dev/null +++ b/apps/komga/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/komga/template.yml b/apps/komga/template.yml new file mode 100644 index 0000000..8bd49dd --- /dev/null +++ b/apps/komga/template.yml @@ -0,0 +1,28 @@ +# Komga: a media server for comics, manga, magazines and ebooks. +x-harbor: + slug: komga + name: Komga + description: Self-hosted comics and ebook server. + version: "1.30.1-c1" + primary: { service: app, port: 25600 } + health_path: /api/v1/claim + default_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 20480 } + min_resources: { cpu_millis: 250, memory_mb: 512, storage_mb: 2048 } + volumes: + config: { uid: 1000, gid: 1000, mode: "0750" } + library: { uid: 1000, gid: 1000, mode: "0750" } + +services: + app: + image: gotson/komga:1.30.1 + user: "1000:1000" + environment: + # Let the JVM use most of the memory Cottage gives the app. + JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=60" + volumes: + - "config:/config" + - "library:/library" + +volumes: + config: + library: