From b7d0cb1d4190e04a1001ae00a9bff14e5d0feca1 Mon Sep 17 00:00:00 2001 From: FoggyMtnDrifter Date: Sun, 22 Nov 2026 11:08:41 -0500 Subject: [PATCH] Add ten photo, file and document apps (batch 6) (#11) * Add MicroBin * Add Gokapi * Add Transmute * Add PdfDing * Add Paperless-ngx * Add Pydio Cells * Add Chevereto * Add PhotoPrism * Add Immich * Add Nextcloud --- apps/chevereto/README.md | 13 +++++ apps/chevereto/cottage.yml | 16 ++++++ apps/chevereto/icon.svg | 1 + apps/chevereto/template.yml | 76 ++++++++++++++++++++++++++++ apps/gokapi/README.md | 18 +++++++ apps/gokapi/cottage.yml | 16 ++++++ apps/gokapi/icon.svg | 1 + apps/gokapi/template.yml | 30 +++++++++++ apps/immich/README.md | 15 ++++++ apps/immich/cottage.yml | 22 +++++++++ apps/immich/icon.svg | 1 + apps/immich/template.yml | 75 ++++++++++++++++++++++++++++ apps/microbin/README.md | 17 +++++++ apps/microbin/cottage.yml | 13 +++++ apps/microbin/icon.svg | 1 + apps/microbin/template.yml | 36 ++++++++++++++ apps/nextcloud/README.md | 15 ++++++ apps/nextcloud/cottage.yml | 16 ++++++ apps/nextcloud/icon.svg | 1 + apps/nextcloud/template.yml | 88 +++++++++++++++++++++++++++++++++ apps/paperless-ngx/README.md | 13 +++++ apps/paperless-ngx/cottage.yml | 18 +++++++ apps/paperless-ngx/icon.svg | 1 + apps/paperless-ngx/template.yml | 78 +++++++++++++++++++++++++++++ apps/pdfding/README.md | 13 +++++ apps/pdfding/cottage.yml | 14 ++++++ apps/pdfding/icon.svg | 1 + apps/pdfding/template.yml | 60 ++++++++++++++++++++++ apps/photoprism/README.md | 15 ++++++ apps/photoprism/cottage.yml | 17 +++++++ apps/photoprism/icon.svg | 1 + apps/photoprism/template.yml | 78 +++++++++++++++++++++++++++++ apps/pydio-cells/README.md | 13 +++++ apps/pydio-cells/cottage.yml | 14 ++++++ apps/pydio-cells/icon.svg | 1 + apps/pydio-cells/template.yml | 53 ++++++++++++++++++++ apps/transmute/README.md | 15 ++++++ apps/transmute/cottage.yml | 16 ++++++ apps/transmute/icon.svg | 1 + apps/transmute/template.yml | 32 ++++++++++++ 40 files changed, 925 insertions(+) create mode 100644 apps/chevereto/README.md create mode 100644 apps/chevereto/cottage.yml create mode 100644 apps/chevereto/icon.svg create mode 100644 apps/chevereto/template.yml create mode 100644 apps/gokapi/README.md create mode 100644 apps/gokapi/cottage.yml create mode 100644 apps/gokapi/icon.svg create mode 100644 apps/gokapi/template.yml create mode 100644 apps/immich/README.md create mode 100644 apps/immich/cottage.yml create mode 100644 apps/immich/icon.svg create mode 100644 apps/immich/template.yml create mode 100644 apps/microbin/README.md create mode 100644 apps/microbin/cottage.yml create mode 100644 apps/microbin/icon.svg create mode 100644 apps/microbin/template.yml create mode 100644 apps/nextcloud/README.md create mode 100644 apps/nextcloud/cottage.yml create mode 100644 apps/nextcloud/icon.svg create mode 100644 apps/nextcloud/template.yml create mode 100644 apps/paperless-ngx/README.md create mode 100644 apps/paperless-ngx/cottage.yml create mode 100644 apps/paperless-ngx/icon.svg create mode 100644 apps/paperless-ngx/template.yml create mode 100644 apps/pdfding/README.md create mode 100644 apps/pdfding/cottage.yml create mode 100644 apps/pdfding/icon.svg create mode 100644 apps/pdfding/template.yml create mode 100644 apps/photoprism/README.md create mode 100644 apps/photoprism/cottage.yml create mode 100644 apps/photoprism/icon.svg create mode 100644 apps/photoprism/template.yml create mode 100644 apps/pydio-cells/README.md create mode 100644 apps/pydio-cells/cottage.yml create mode 100644 apps/pydio-cells/icon.svg create mode 100644 apps/pydio-cells/template.yml create mode 100644 apps/transmute/README.md create mode 100644 apps/transmute/cottage.yml create mode 100644 apps/transmute/icon.svg create mode 100644 apps/transmute/template.yml diff --git a/apps/chevereto/README.md b/apps/chevereto/README.md new file mode 100644 index 0000000..4e71abc --- /dev/null +++ b/apps/chevereto/README.md @@ -0,0 +1,13 @@ +## First login + +Open `/login` on your app's address and sign in as `admin` with the **Admin password** from the app's Overview tab. Change the admin email to your own under **Settings → Account**. + +## Who can upload + +Out of the box, visitors can sign up and guests can upload. In the **Dashboard → Settings**, choose under **Users** whether people can sign up, and under **Upload** whether guests can upload at all. For a private gallery, turn both off and add accounts yourself. + +Outgoing mail ports are blocked on Cottage, so Chevereto can't send sign-up confirmations or password resets. Turn off email confirmation for new accounts, and reset passwords for people from **Dashboard → Users**. + +## Export your data + +Every original lives in your app's storage; download albums from their pages. Cottage also keeps nightly backups of the whole app, including the database. diff --git a/apps/chevereto/cottage.yml b/apps/chevereto/cottage.yml new file mode 100644 index 0000000..b14688b --- /dev/null +++ b/apps/chevereto/cottage.yml @@ -0,0 +1,16 @@ +name: Chevereto +tagline: Host and share your images and videos on your own site. +category: Photos +description: >- + An image hosting site of your own, in its free community edition. Upload + photos and videos, organise them into albums, and share them with direct + links, embed codes and public or private pages. +upstream: https://github.com/chevereto/chevereto +website: https://chevereto.com +license: AGPL-3.0-or-later +images: + - ref: ghcr.io/chevereto/chevereto:4.5.9 + digest: sha256:ba5bd78efffb667ed513cb6c46cc17c655a2e8ba5fbb7b2e68c8a29796f7ed73 + - ref: mariadb:11.4.13 + digest: sha256:a8992b5e5404d11e03c54a31d0c1bdea3fd116d283aa6d1a627551f29045309b +mobile_apps: false diff --git a/apps/chevereto/icon.svg b/apps/chevereto/icon.svg new file mode 100644 index 0000000..6fd26e0 --- /dev/null +++ b/apps/chevereto/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/chevereto/template.yml b/apps/chevereto/template.yml new file mode 100644 index 0000000..03206f8 --- /dev/null +++ b/apps/chevereto/template.yml @@ -0,0 +1,76 @@ +# Chevereto (free edition): image and video hosting, with MariaDB. +x-harbor: + slug: chevereto + name: Chevereto + description: Image and video hosting and sharing. + version: "4.5.9-c1" + primary: { service: app, port: 8080 } + health_path: /login + default_resources: { cpu_millis: 1000, memory_mb: 1024, storage_mb: 20480 } + min_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 2048 } + weights: { app: 3, db: 2 } + volumes: + images: { uid: 33, gid: 33, mode: "0750" } + db_data: { uid: 999, gid: 999, mode: "0700" } + parameters: + - { key: ENCRYPTION_KEY, label: Encryption key, type: string, secret: true, generate: random32 } + - { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 } + - { key: DB_ROOT_PASSWORD, label: Database root password, type: string, secret: true, generate: random32 } + - { key: ADMIN_EMAIL, label: Admin email (used on first start), type: string, default: "admin@example.com" } + - { key: ADMIN_PASSWORD, label: Admin password (user admin), type: string, secret: true, generate: random32 } + +services: + app: + image: ghcr.io/chevereto/chevereto:4.5.9 + # The image runs Apache as www-data on port 8080. + user: "33:33" + depends_on: + db: { condition: service_healthy } + # Chevereto wants a base64-encoded 32-byte key, so encode the generated 32-character + # secret. Then install with the generated admin on first start (upstream's + # `make install` runs the same command), and hand over to the image's Apache. + command: + - sh + - -c + - | + CHEVERETO_ENCRYPTION_KEY="$$(printf '%s' "$$ENCRYPTION_SECRET" | base64 -w0)" + export CHEVERETO_ENCRYPTION_KEY + app/bin/cli -C install -u admin -e "$$ADMIN_EMAIL" -x "$$ADMIN_PASSWORD" || true + exec apache2-foreground + environment: + CHEVERETO_DB_HOST: db + CHEVERETO_DB_PORT: "3306" + CHEVERETO_DB_NAME: chevereto + CHEVERETO_DB_USER: chevereto + CHEVERETO_DB_PASS: ${DB_PASSWORD} + CHEVERETO_HOSTNAME: ${HARBOR_HOSTNAME} + CHEVERETO_HOSTNAME_PATH: / + CHEVERETO_HTTPS: "1" + ENCRYPTION_SECRET: ${ENCRYPTION_KEY} + CHEVERETO_HEADER_CLIENT_IP: X-Forwarded-For + CHEVERETO_MAX_UPLOAD_SIZE: 256M + CHEVERETO_MAX_POST_SIZE: 256M + CHEVERETO_MAX_UPLOAD_FILE_SIZE: 256M + CHEVERETO_SESSION_SAVE_HANDLER: files + CHEVERETO_SESSION_SAVE_PATH: /tmp + CHEVERETO_CACHE_DRIVER: "" + ADMIN_EMAIL: ${ADMIN_EMAIL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + volumes: [ "images:/var/www/html/images" ] + db: + image: mariadb:11.4.13 + user: "999:999" + environment: + MARIADB_DATABASE: chevereto + MARIADB_USER: chevereto + MARIADB_PASSWORD: ${DB_PASSWORD} + MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} + volumes: [ "db_data:/var/lib/mysql" ] + healthcheck: + test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + interval: 5s + retries: 30 + +volumes: + images: + db_data: diff --git a/apps/gokapi/README.md b/apps/gokapi/README.md new file mode 100644 index 0000000..c39aea2 --- /dev/null +++ b/apps/gokapi/README.md @@ -0,0 +1,18 @@ +## First login + +The first visit runs Gokapi's setup wizard, so until you've done that only you can open the app. Open it from your Cottage dashboard and go to `/setup` on your app's address. + +1. Keep the database as **SQLite**. +2. Under **Webserver**, leave SSL off (Cottage already serves the app over HTTPS) and change **Public facing URL** to your app's full address, starting with `https://` and ending with `/`. +3. Keep **Username / password** authentication and choose your admin username and password. +4. Keep **Local storage** for files, and turn on encryption if you'd like files stored encrypted. + +When the wizard finishes it takes you to the admin page. Then choose **Done** on the app's page so anyone you share links with can download. + +## Sharing files + +Drop a file onto the admin page, then set how many downloads or days it should last, and optionally a password. Copy the link it gives you. Under **File requests** you can make an upload link for someone else to send files to you. + +## Export your data + +Download any file from its link while it's still active. Cottage also keeps nightly backups of the whole app, including every stored file. diff --git a/apps/gokapi/cottage.yml b/apps/gokapi/cottage.yml new file mode 100644 index 0000000..d4bf759 --- /dev/null +++ b/apps/gokapi/cottage.yml @@ -0,0 +1,16 @@ +name: Gokapi +tagline: Share files with links that expire after a few downloads or days. +category: Files +description: >- + A lightweight file sharing server. Upload a file, set how many downloads or + days it lasts, and send the link. Supports end-to-end encryption, file + requests from other people, and an API for scripts. +upstream: https://github.com/Forceu/Gokapi +website: https://gokapi.readthedocs.io +license: AGPL-3.0-only +images: + - ref: f0rc3/gokapi:v2.2.4 + digest: sha256:43cd93b9e1f02d760923f67f6e74e1c4d4a9cccb9b08fa42ad60770333f231eb +mobile_apps: false +# The first visit runs the setup wizard and creates the admin account. +first_visit_claims_admin: true diff --git a/apps/gokapi/icon.svg b/apps/gokapi/icon.svg new file mode 100644 index 0000000..325ff8b --- /dev/null +++ b/apps/gokapi/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/gokapi/template.yml b/apps/gokapi/template.yml new file mode 100644 index 0000000..c504d31 --- /dev/null +++ b/apps/gokapi/template.yml @@ -0,0 +1,30 @@ +# Gokapi: share files through expiring download links. One container, two volumes. +x-harbor: + slug: gokapi + name: Gokapi + description: File sharing with expiring download links. + version: "2.2.4-c1" + primary: { service: app, port: 53842 } + # Answers 200 both while the setup wizard runs and afterwards. + health_path: /robots.txt + default_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 20480 } + min_resources: { cpu_millis: 250, memory_mb: 128, storage_mb: 1024 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + config: { uid: 1000, gid: 1000, mode: "0750" } + +services: + app: + image: f0rc3/gokapi:v2.2.4 + # Upstream's supported way to run without root is --user (DOCKER_NONROOT is deprecated). + user: "1000:1000" + environment: + TZ: UTC + GOKAPI_MIN_FREE_SPACE: "400" + volumes: + - "data:/app/data" + - "config:/app/config" + +volumes: + data: + config: diff --git a/apps/immich/README.md b/apps/immich/README.md new file mode 100644 index 0000000..9e86c0f --- /dev/null +++ b/apps/immich/README.md @@ -0,0 +1,15 @@ +## 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, choose **Getting started**, create your account, then choose **Done** on the app's page so the phone apps and anyone you share with can reach it. + +Add accounts for family under **Administration → Users**. Outgoing mail ports are blocked on Cottage, so Immich can't email invitations or password resets; set each person's password when you create them. + +## Phone backup + +Install the Immich app on iPhone or Android, enter your app's full address starting with `https://`, sign in, and turn on **Backup**. Your existing photos upload in the background, then new ones follow as you take them. + +Face recognition and smart search run in the background after each upload, and take a while to catch up on a large library. + +## Export your data + +Select photos or an album and choose **Download** for a zip of the originals. Cottage also keeps nightly backups of the whole app, including the database. diff --git a/apps/immich/cottage.yml b/apps/immich/cottage.yml new file mode 100644 index 0000000..119252e --- /dev/null +++ b/apps/immich/cottage.yml @@ -0,0 +1,22 @@ +name: Immich +tagline: Back up the photos and videos on your phone to a library you own. +category: Photos +description: >- + A fast photo and video library with automatic backup from the Immich phone + apps. Browse by timeline, map, people and places, search for what's in a + picture, and share albums with family or by link. +upstream: https://github.com/immich-app/immich +website: https://immich.app +license: AGPL-3.0-only +images: + - ref: ghcr.io/immich-app/immich-server:v3.4.2 + digest: sha256:fc880c1bf665b4aab1e74c15e56ab871225989cd546536e6b77e771869af06bd + - ref: ghcr.io/immich-app/immich-machine-learning:v3.4.2 + digest: sha256:739405742a79bd7447227c553bb62ed5491aa36acf00bc667af7f9c93b6fae91 + - ref: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 + digest: sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23 + - ref: valkey/valkey:9.2.0-alpine + digest: sha256:c8e2d17498838af5d91e12eb7c11220b3434a7b7131a333e3af52ad5e0b80882 +mobile_apps: true +# The first visit creates the admin account. +first_visit_claims_admin: true diff --git a/apps/immich/icon.svg b/apps/immich/icon.svg new file mode 100644 index 0000000..8d19c0f --- /dev/null +++ b/apps/immich/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/immich/template.yml b/apps/immich/template.yml new file mode 100644 index 0000000..7d374d8 --- /dev/null +++ b/apps/immich/template.yml @@ -0,0 +1,75 @@ +# Immich: photo and video backup from your phone. Server, machine learning, PostgreSQL and Valkey. +x-harbor: + slug: immich + name: Immich + description: Photo and video backup and library. + version: "3.4.2-c1" + primary: { service: app, port: 2283 } + health_path: /api/server/ping + # Upstream's minimum is 6 GB of RAM with machine learning (faces, smart search). + default_resources: { cpu_millis: 2000, memory_mb: 6144, storage_mb: 51200 } + min_resources: { cpu_millis: 1000, memory_mb: 4096, storage_mb: 10240 } + weights: { app: 4, machine-learning: 4, db: 3, redis: 1 } + volumes: + library: { uid: 1000, gid: 1000, mode: "0750" } + model_cache: { uid: 1000, gid: 1000, mode: "0750" } + db_data: { uid: 999, gid: 999, mode: "0700" } + redis_data: { uid: 999, gid: 1000, mode: "0750" } + parameters: + # Immich asks for letters and digits only in the database password. + - { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: hex32 } + +x-immich-env: &immich-env + DB_HOSTNAME: db + DB_USERNAME: immich + DB_PASSWORD: ${DB_PASSWORD} + DB_DATABASE_NAME: immich + REDIS_HOSTNAME: redis + TZ: Etc/UTC + +services: + app: + image: ghcr.io/immich-app/immich-server:v3.4.2 + # Upstream's rootless setup: every service runs as a plain user. + user: "1000:1000" + depends_on: + db: { condition: service_healthy } + redis: { condition: service_healthy } + environment: + <<: *immich-env + IMMICH_MACHINE_LEARNING_URL: http://machine-learning:3003 + volumes: [ "library:/data" ] + machine-learning: + image: ghcr.io/immich-app/immich-machine-learning:v3.4.2 + user: "1000:1000" + environment: + <<: *immich-env + MACHINE_LEARNING_MODEL_REVISION: v2 + volumes: [ "model_cache:/cache" ] + db: + image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0 + user: "999:999" + environment: + POSTGRES_DB: immich + POSTGRES_USER: immich + POSTGRES_PASSWORD: ${DB_PASSWORD} + POSTGRES_INITDB_ARGS: "--data-checksums" + volumes: [ "db_data:/var/lib/postgresql/data" ] + healthcheck: + test: [ "CMD", "pg_isready", "-U", "immich", "-d", "immich" ] + interval: 5s + retries: 30 + redis: + image: valkey/valkey:9.2.0-alpine + user: "999:1000" + volumes: [ "redis_data:/data" ] + healthcheck: + test: [ "CMD", "valkey-cli", "ping" ] + interval: 5s + retries: 30 + +volumes: + library: + model_cache: + db_data: + redis_data: diff --git a/apps/microbin/README.md b/apps/microbin/README.md new file mode 100644 index 0000000..35010dc --- /dev/null +++ b/apps/microbin/README.md @@ -0,0 +1,17 @@ +## First login + +Anyone with your app's address can read pastes you share with them, but only people who know the **Uploader password** (on the app's Overview tab) can create new ones. MicroBin asks for it when you save a paste. + +To let anyone upload, turn off **Only people with the uploader password can upload** in the app's settings. A paste bin open to the whole internet tends to collect spam, so keep it on unless you need it off. + +## Admin page + +Open `/admin` on your app's address and sign in as `admin` with the **Admin password**. From there you can see and remove every paste. + +## Sharing + +Paste text or drop in files, pick an expiry and whether it's private, then save. You get a short link and a QR code to send on. For something sensitive, choose a password when you save: MicroBin encrypts it in your browser so the server never sees the contents. + +## Export your data + +Pastes and files live in the app's storage; download any file from its paste page. Cottage also keeps nightly backups of the whole app. diff --git a/apps/microbin/cottage.yml b/apps/microbin/cottage.yml new file mode 100644 index 0000000..757dffd --- /dev/null +++ b/apps/microbin/cottage.yml @@ -0,0 +1,13 @@ +name: MicroBin +tagline: Share text, files and short links from one tiny paste bin. +category: Files +description: >- + A small, fast paste bin. Share snippets, files and short links with expiry + times, burn-after-reading, QR codes and optional end-to-end encryption. +upstream: https://github.com/szabodanika/microbin +website: https://microbin.eu +license: BSD-3-Clause +images: + - ref: danielszabo99/microbin:2.1.0 + digest: sha256:34fe4ac99b65cc633975ae72ca6fc84eab15f73a95b2e03b98312374063ee5d7 +mobile_apps: false diff --git a/apps/microbin/icon.svg b/apps/microbin/icon.svg new file mode 100644 index 0000000..0d5f91f --- /dev/null +++ b/apps/microbin/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/microbin/template.yml b/apps/microbin/template.yml new file mode 100644 index 0000000..8cfd7c1 --- /dev/null +++ b/apps/microbin/template.yml @@ -0,0 +1,36 @@ +# MicroBin: a small paste bin for text, files and short links. One container, one volume. +x-harbor: + slug: microbin + name: MicroBin + description: Tiny self-contained paste bin and file sharing. + version: "2.1.0-c1" + primary: { service: app, port: 8080 } + health_path: / + default_resources: { cpu_millis: 250, memory_mb: 128, storage_mb: 10240 } + min_resources: { cpu_millis: 250, memory_mb: 64, storage_mb: 1024 } + volumes: + data: { uid: 65532, gid: 65532, mode: "0750" } + parameters: + - { key: ADMIN_PASSWORD, label: Admin password (user admin), type: string, secret: true, generate: random32 } + - { key: UPLOADER_PASSWORD, label: Uploader password, type: string, secret: true, generate: random16 } + - { key: UPLOADS_NEED_PASSWORD, label: Only people with the uploader password can upload, type: bool, default: "true", editable: true } + +services: + app: + image: danielszabo99/microbin:2.1.0 + # The image's own non-root user (distroless "nonroot"). + user: "65532:65532" + environment: + MICROBIN_PUBLIC_PATH: ${HARBOR_PUBLIC_URL} + MICROBIN_ADMIN_USERNAME: admin + MICROBIN_ADMIN_PASSWORD: ${ADMIN_PASSWORD} + # A public paste bin attracts spam, so uploads need a password unless the owner opens it up. + MICROBIN_READONLY: ${UPLOADS_NEED_PASSWORD} + MICROBIN_UPLOADER_PASSWORD: ${UPLOADER_PASSWORD} + MICROBIN_QR: "true" + MICROBIN_DISABLE_TELEMETRY: "true" + MICROBIN_DISABLE_UPDATE_CHECKING: "true" + volumes: [ "data:/app/microbin_data" ] + +volumes: + data: diff --git a/apps/nextcloud/README.md b/apps/nextcloud/README.md new file mode 100644 index 0000000..9a2ce2c --- /dev/null +++ b/apps/nextcloud/README.md @@ -0,0 +1,15 @@ +## First login + +Sign in as `admin` with the **Admin password** from the app's Overview tab. Add people under **Accounts** in the top-right menu and set their passwords there. + +Outgoing mail ports are blocked on Cottage, so Nextcloud can't send share notifications or password-reset emails. You'll see a warning about the email server in **Administration settings → Overview**; it's safe to leave. + +## Sync and apps + +Install the Nextcloud desktop and mobile apps and sign in with your app's full address, starting with `https://`. Calendars and contacts sync over CalDAV and CardDAV: **Calendar → Calendar settings** shows the address to use. + +Add more apps, such as Notes, Deck or Contacts, from **Apps** in the top-right menu. Background jobs run every five minutes. + +## Export your data + +Select files and choose **Download** for a zip, and export calendars and contacts from their apps. Cottage also keeps nightly backups of the whole app, including the database. diff --git a/apps/nextcloud/cottage.yml b/apps/nextcloud/cottage.yml new file mode 100644 index 0000000..1bd79b3 --- /dev/null +++ b/apps/nextcloud/cottage.yml @@ -0,0 +1,16 @@ +name: Nextcloud +tagline: Your files, calendars and contacts, synced across every device. +category: Files +description: >- + A private cloud for your files, with desktop and mobile sync, sharing by link, + calendars and contacts over CalDAV and CardDAV, and an app store with notes, + tasks, photos, office documents and more. +upstream: https://github.com/nextcloud/server +website: https://nextcloud.com +license: AGPL-3.0-or-later +images: + - ref: nextcloud:35.0.3-apache + digest: sha256:f22d1dd63844bd15bbf6c2019149653c3d1c775ba48b173b56c3c6ad5f386196 + - ref: postgres:18.7-alpine + digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71 +mobile_apps: true diff --git a/apps/nextcloud/icon.svg b/apps/nextcloud/icon.svg new file mode 100644 index 0000000..fd111fa --- /dev/null +++ b/apps/nextcloud/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/nextcloud/template.yml b/apps/nextcloud/template.yml new file mode 100644 index 0000000..835c0bc --- /dev/null +++ b/apps/nextcloud/template.yml @@ -0,0 +1,88 @@ +# Nextcloud: files, calendars, contacts and more. App, background jobs and PostgreSQL. +# No Redis: the image's Redis session setup writes into a root-owned PHP config directory, +# so it can't run as a non-root user. File locking falls back to the database. +x-harbor: + slug: nextcloud + name: Nextcloud + description: Files, calendars, contacts and collaboration. + version: "35.0.3-c1" + primary: { service: app, port: 8080 } + health_path: /status.php + default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 51200 } + min_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 5120 } + weights: { app: 6, cron: 2, db: 2 } + volumes: + html: { uid: 33, gid: 33, mode: "0750" } + db_data: { uid: 70, gid: 70, mode: "0700" } + parameters: + - { key: ADMIN_PASSWORD, label: Admin password (user admin), type: string, secret: true, generate: random32 } + - { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 } + +x-nextcloud-env: &nextcloud-env + POSTGRES_HOST: db + POSTGRES_DB: nextcloud + POSTGRES_USER: nextcloud + POSTGRES_PASSWORD: ${DB_PASSWORD} + NEXTCLOUD_ADMIN_USER: admin + NEXTCLOUD_ADMIN_PASSWORD: ${ADMIN_PASSWORD} + NEXTCLOUD_TRUSTED_DOMAINS: ${HARBOR_HOSTNAME} + OVERWRITEPROTOCOL: https + OVERWRITECLIURL: ${HARBOR_PUBLIC_URL} + TRUSTED_PROXIES: 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 + PHP_MEMORY_LIMIT: 512M + PHP_UPLOAD_LIMIT: 2G + +services: + app: + image: nextcloud:35.0.3-apache + # The image supports running as any user (it then skips its root-only steps). + # Apache can't bind port 80 without root, so start it from a copy of its config + # that listens on 8080 instead; the image's entrypoint still installs and upgrades. + user: "33:33" + depends_on: + db: { condition: service_healthy } + entrypoint: + - sh + - -c + - | + set -e + rm -rf /tmp/apache2 + cp -rL /etc/apache2 /tmp/apache2 + sed -i 's/^Listen 80$$/Listen 8080/' /tmp/apache2/ports.conf + sed -i 's///' /tmp/apache2/sites-enabled/000-default.conf + export APACHE_CONFDIR=/tmp/apache2 + exec /entrypoint.sh apache2-foreground -d /tmp/apache2 + environment: *nextcloud-env + volumes: [ "html:/var/www/html" ] + cron: + image: nextcloud:35.0.3-apache + user: "33:33" + depends_on: + app: { condition: service_started } + # Background jobs every five minutes; the first run switches Nextcloud to cron mode. + entrypoint: + - sh + - -c + - | + while :; do + sleep 300 + [ -f /var/www/html/config/config.php ] && php -f /var/www/html/cron.php || true + done + environment: *nextcloud-env + volumes: [ "html:/var/www/html" ] + db: + image: postgres:18.7-alpine + user: "70:70" + environment: + POSTGRES_DB: nextcloud + POSTGRES_USER: nextcloud + POSTGRES_PASSWORD: ${DB_PASSWORD} + volumes: [ "db_data:/var/lib/postgresql" ] + healthcheck: + test: [ "CMD", "pg_isready", "-U", "nextcloud", "-d", "nextcloud" ] + interval: 5s + retries: 30 + +volumes: + html: + db_data: diff --git a/apps/paperless-ngx/README.md b/apps/paperless-ngx/README.md new file mode 100644 index 0000000..ca04175 --- /dev/null +++ b/apps/paperless-ngx/README.md @@ -0,0 +1,13 @@ +## First login + +Sign in as `admin` with the **Admin password** from the app's Overview tab. Add accounts for other people under **Settings → Users & Groups**. + +## Adding documents + +Drag PDFs, images or office files onto the dashboard, or use **Upload** in the menu. Paperless reads each one with OCR (English by default), then you can add a correspondent, document type and tags. Once it has seen a few examples, it starts suggesting them for you. + +The phone apps and scanner apps that support Paperless-ngx can upload straight to your app's address. Fetching documents from an email inbox works over IMAP, but Paperless can't send mail on Cottage because outgoing mail ports are blocked. + +## Export your data + +Select documents and choose **Download** for a zip of the originals, or download any single document from its page. Cottage also keeps nightly backups of the whole app, including the database. diff --git a/apps/paperless-ngx/cottage.yml b/apps/paperless-ngx/cottage.yml new file mode 100644 index 0000000..4bb6674 --- /dev/null +++ b/apps/paperless-ngx/cottage.yml @@ -0,0 +1,18 @@ +name: Paperless-ngx +tagline: Turn your paper into a searchable archive. +category: Files +description: >- + Scan or upload letters, receipts and contracts, and Paperless-ngx reads them + with OCR, tags and files them, and makes every word searchable. Rules learn + where new documents belong, and originals are kept alongside archival PDFs. +upstream: https://github.com/paperless-ngx/paperless-ngx +website: https://docs.paperless-ngx.com +license: GPL-3.0-only +images: + - ref: ghcr.io/paperless-ngx/paperless-ngx:3.5.1 + digest: sha256:8508853b8a0f8394074260957d0be186c8c64f346973b24a7583de4580f306b9 + - ref: postgres:18.7-alpine + digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71 + - ref: valkey/valkey:9.2.0-alpine + digest: sha256:c8e2d17498838af5d91e12eb7c11220b3434a7b7131a333e3af52ad5e0b80882 +mobile_apps: true diff --git a/apps/paperless-ngx/icon.svg b/apps/paperless-ngx/icon.svg new file mode 100644 index 0000000..6a21340 --- /dev/null +++ b/apps/paperless-ngx/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/paperless-ngx/template.yml b/apps/paperless-ngx/template.yml new file mode 100644 index 0000000..fff37df --- /dev/null +++ b/apps/paperless-ngx/template.yml @@ -0,0 +1,78 @@ +# Paperless-ngx: scan, OCR and file your paper documents. App, PostgreSQL and Valkey. +x-harbor: + slug: paperless-ngx + name: Paperless-ngx + description: Document management system with OCR. + version: "3.5.1-c1" + primary: { service: app, port: 8000 } + health_path: /accounts/login/ + default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 20480 } + min_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 2048 } + weights: { app: 6, db: 1, broker: 1 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + media: { uid: 1000, gid: 1000, mode: "0750" } + consume: { uid: 1000, gid: 1000, mode: "0750" } + db_data: { uid: 70, gid: 70, mode: "0700" } + broker_data: { uid: 999, gid: 1000, mode: "0750" } + parameters: + - { key: SECRET_KEY, label: Secret key, type: string, secret: true, generate: random32 } + - { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 } + - { key: ADMIN_PASSWORD, label: Admin password (user admin), type: string, secret: true, generate: random32 } + +services: + app: + image: ghcr.io/paperless-ngx/paperless-ngx:3.5.1 + # Upstream's documented rootless mode: the init scripts run directly as this user. + user: "1000:1000" + depends_on: + db: { condition: service_healthy } + broker: { condition: service_healthy } + environment: + PAPERLESS_URL: ${HARBOR_PUBLIC_URL} + PAPERLESS_SECRET_KEY: ${SECRET_KEY} + PAPERLESS_REDIS: redis://broker:6379 + PAPERLESS_DBENGINE: postgresql + PAPERLESS_DBHOST: db + PAPERLESS_DBNAME: paperless + PAPERLESS_DBUSER: paperless + PAPERLESS_DBPASS: ${DB_PASSWORD} + PAPERLESS_ADMIN_USER: admin + PAPERLESS_ADMIN_PASSWORD: ${ADMIN_PASSWORD} + PAPERLESS_TIME_ZONE: UTC + # One worker and one web process keep OCR inside a small team's memory. + PAPERLESS_TASK_WORKERS: "1" + PAPERLESS_THREADS_PER_WORKER: "1" + PAPERLESS_WEBSERVER_WORKERS: "1" + volumes: + - "data:/usr/src/paperless/data" + - "media:/usr/src/paperless/media" + - "consume:/usr/src/paperless/consume" + db: + image: postgres:18.7-alpine + user: "70:70" + environment: + POSTGRES_DB: paperless + POSTGRES_USER: paperless + POSTGRES_PASSWORD: ${DB_PASSWORD} + volumes: [ "db_data:/var/lib/postgresql" ] + healthcheck: + test: [ "CMD", "pg_isready", "-U", "paperless", "-d", "paperless" ] + interval: 5s + retries: 30 + broker: + image: valkey/valkey:9.2.0-alpine + user: "999:1000" + command: [ "valkey-server", "--appendonly", "yes" ] + volumes: [ "broker_data:/data" ] + healthcheck: + test: [ "CMD", "valkey-cli", "ping" ] + interval: 5s + retries: 30 + +volumes: + data: + media: + consume: + db_data: + broker_data: diff --git a/apps/pdfding/README.md b/apps/pdfding/README.md new file mode 100644 index 0000000..2c38c1e --- /dev/null +++ b/apps/pdfding/README.md @@ -0,0 +1,13 @@ +## First login + +Sign in with the **Admin sign-in email** and **Admin password** from the app's Overview tab. Change the email to your own under **Settings → Account** once you're in. + +Sign-ups are off, so nobody else can make an account. Add people under **Admin → Users**, or turn off **Turn off sign-ups** in the app's settings for a while if you'd rather they sign up themselves. Outgoing mail is blocked on Cottage, so PdfDing can't send verification or password-reset emails; as the admin you can set a new password for anyone from the same page. + +## Your library + +Choose **Add PDF** to upload a file or fetch one from a link. Open it and start reading: PdfDing remembers your page on every device. Use tags, collections and workspaces to keep things in order, and share a PDF with a link (with an optional password and expiry) from its menu. + +## Export your data + +Download any PDF, with your highlights and comments, from its menu. Cottage also keeps nightly backups of the whole app. diff --git a/apps/pdfding/cottage.yml b/apps/pdfding/cottage.yml new file mode 100644 index 0000000..306f1f2 --- /dev/null +++ b/apps/pdfding/cottage.yml @@ -0,0 +1,14 @@ +name: PdfDing +tagline: Read, organise and annotate your PDFs from any device. +category: Reading +description: >- + A PDF library in your browser. It remembers where you stopped reading on every + device, and lets you tag, star and archive documents, highlight and comment, + sign PDFs and share them by link. +upstream: https://codeberg.org/mrmn/PdfDing +website: https://www.pdfding.com +license: AGPL-3.0-only +images: + - ref: mrmn/pdfding:v1.15.0 + digest: sha256:698654cb78e9b0f461cf5d63ed39a8a98306fd9ff30fd1578bdef7bb6056f913 +mobile_apps: false diff --git a/apps/pdfding/icon.svg b/apps/pdfding/icon.svg new file mode 100644 index 0000000..0481667 --- /dev/null +++ b/apps/pdfding/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/pdfding/template.yml b/apps/pdfding/template.yml new file mode 100644 index 0000000..8446644 --- /dev/null +++ b/apps/pdfding/template.yml @@ -0,0 +1,60 @@ +# PdfDing: a PDF library, viewer and editor. One container, SQLite, one volume. +x-harbor: + slug: pdfding + name: PdfDing + description: PDF manager, viewer and editor. + version: "1.15.0-c1" + primary: { service: app, port: 8000 } + health_path: /healthz + default_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 10240 } + min_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 1024 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + parameters: + - { key: SECRET_KEY, label: Django secret key, type: string, secret: true, generate: random32 } + - { key: ADMIN_EMAIL, label: Admin sign-in email (used on first start), type: string, default: "admin@example.com" } + - { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 } + - { key: DISABLE_USER_SIGNUP, label: Turn off sign-ups (the admin adds users), type: bool, default: "true", editable: true } + +services: + app: + image: mrmn/pdfding:v1.15.0 + # The image's own non-root user. + user: "1000:1000" + # Creates the admin account with the generated password on first start, then runs + # the image's own entrypoint (migrations, clean-up, gunicorn). + command: + - sh + - -c + - | + set -e + mkdir -p "$$DATA_DIR/db" "$$DATA_DIR/media" + cd pdfding + python manage.py migrate --no-input + python manage.py shell -c " + import os + from django.contrib.auth.models import User + if not User.objects.filter(is_superuser=True).exists(): + e = os.environ['ADMIN_EMAIL'] + u = User.objects.create_user(username=e, email=e, password=os.environ['ADMIN_PASSWORD']) + u.is_staff = True + u.is_superuser = True + u.save() + print('Created admin account', e) + " + cd .. + exec ./entrypoint.sh + environment: + DATA_DIR: /home/nonroot/data + SECRET_KEY: ${SECRET_KEY} + HOST_NAME: ${HARBOR_HOSTNAME},localhost,127.0.0.1 + CSRF_COOKIE_SECURE: "TRUE" + SESSION_COOKIE_SECURE: "TRUE" + DISABLE_USER_SIGNUP: ${DISABLE_USER_SIGNUP} + ADMIN_EMAIL: ${ADMIN_EMAIL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + DEFAULT_THEME: light + volumes: [ "data:/home/nonroot/data" ] + +volumes: + data: diff --git a/apps/photoprism/README.md b/apps/photoprism/README.md new file mode 100644 index 0000000..5c7fbe7 --- /dev/null +++ b/apps/photoprism/README.md @@ -0,0 +1,15 @@ +## First login + +Sign in as `admin` with the **Admin password** from the app's Overview tab. + +## Adding photos + +Choose **Upload** and drop in photos, videos or zip archives; PhotoPrism imports and indexes them, then finds faces, places and labels in the background. A large library takes a while to index the first time. + +You can also connect a computer or phone as a WebDAV drive: **Settings → Account → Connect via WebDAV** shows the address. Files copied there are indexed automatically after a few minutes. + +To install it on a phone, open your app's address in the phone's browser and add it to the home screen. + +## Export your data + +Select photos or an album and choose **Download** for a zip of the originals. PhotoPrism also writes a YAML sidecar file next to each photo and a daily database backup into its storage. Cottage keeps nightly backups of the whole app. diff --git a/apps/photoprism/cottage.yml b/apps/photoprism/cottage.yml new file mode 100644 index 0000000..9a5826c --- /dev/null +++ b/apps/photoprism/cottage.yml @@ -0,0 +1,17 @@ +name: PhotoPrism +tagline: Browse, search and share your photos and videos from one private library. +category: Photos +description: >- + A photo and video library for your own collection. It recognises faces, + places and objects so you can search by what's in a picture, shows your + photos on a world map, and lets you share albums by link. Also works as a + WebDAV drive and as a home-screen app on phones. +upstream: https://github.com/photoprism/photoprism +website: https://www.photoprism.app +license: AGPL-3.0-only +images: + - ref: photoprism/photoprism:261029 + digest: sha256:9409cf8e5a6ebcbe3170d14537556cbc20997aaa307096d6eeedbfc5eeef6719 + - ref: mariadb:11.4.13 + digest: sha256:a8992b5e5404d11e03c54a31d0c1bdea3fd116d283aa6d1a627551f29045309b +mobile_apps: false diff --git a/apps/photoprism/icon.svg b/apps/photoprism/icon.svg new file mode 100644 index 0000000..9dd348e --- /dev/null +++ b/apps/photoprism/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/photoprism/template.yml b/apps/photoprism/template.yml new file mode 100644 index 0000000..844a2d6 --- /dev/null +++ b/apps/photoprism/template.yml @@ -0,0 +1,78 @@ +# PhotoPrism: browse, organise and share your photo and video library. App and MariaDB. +x-harbor: + slug: photoprism + name: PhotoPrism + description: AI-powered photo and video library. + version: "2026.10.29-c1" + primary: { service: app, port: 2342 } + health_path: /api/v1/status + # Upstream asks for at least 3 GB of RAM for indexing; RAW files and video need it. + default_resources: { cpu_millis: 2000, memory_mb: 4096, storage_mb: 51200 } + min_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 10240 } + weights: { app: 7, db: 1 } + volumes: + originals: { uid: 1000, gid: 1000, mode: "0750" } + storage: { uid: 1000, gid: 1000, mode: "0750" } + db_data: { uid: 999, gid: 999, mode: "0700" } + parameters: + - { key: ADMIN_PASSWORD, label: Admin password (user admin), type: string, secret: true, generate: random32 } + - { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 } + - { key: DB_ROOT_PASSWORD, label: Database root password, type: string, secret: true, generate: random32 } + +services: + app: + image: photoprism/photoprism:261029 + # Upstream's recommended non-root mode. + user: "1000:1000" + # The image's s6-overlay /init needs a root-owned /run it can't fix as a non-root user, so + # run the same start script its s6 service runs (cmd.sh restarts the server on exit 1). + entrypoint: [ "/scripts/cmd.sh", "/opt/photoprism/bin/photoprism", "start" ] + working_dir: /photoprism + stop_grace_period: 15s + depends_on: + db: { condition: service_healthy } + environment: + PHOTOPRISM_ADMIN_USER: admin + PHOTOPRISM_ADMIN_PASSWORD: ${ADMIN_PASSWORD} + PHOTOPRISM_AUTH_MODE: password + PHOTOPRISM_SITE_URL: ${HARBOR_PUBLIC_URL}/ + # Cottage terminates HTTPS in front of the app. + PHOTOPRISM_DISABLE_TLS: "true" + PHOTOPRISM_DEFAULT_TLS: "false" + PHOTOPRISM_DISABLE_CHOWN: "true" + PHOTOPRISM_DATABASE_DRIVER: mysql + PHOTOPRISM_DATABASE_SERVER: db:3306 + PHOTOPRISM_DATABASE_NAME: photoprism + PHOTOPRISM_DATABASE_USER: photoprism + PHOTOPRISM_DATABASE_PASSWORD: ${DB_PASSWORD} + PHOTOPRISM_WORKERS: "2" + PHOTOPRISM_SIDECAR_YAML: "true" + PHOTOPRISM_BACKUP_ALBUMS: "true" + PHOTOPRISM_BACKUP_DATABASE: "true" + PHOTOPRISM_BACKUP_SCHEDULE: daily + PHOTOPRISM_UPLOAD_LIMIT: "5000" + volumes: + - "originals:/photoprism/originals" + - "storage:/photoprism/storage" + db: + image: mariadb:11.4.13 + user: "999:999" + stop_grace_period: 15s + command: [ "--innodb-buffer-pool-size=256M", "--transaction-isolation=READ-COMMITTED", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci", "--max-connections=512", "--innodb-rollback-on-timeout=OFF", "--innodb-lock-wait-timeout=120" ] + environment: + MARIADB_AUTO_UPGRADE: "1" + MARIADB_INITDB_SKIP_TZINFO: "1" + MARIADB_DATABASE: photoprism + MARIADB_USER: photoprism + MARIADB_PASSWORD: ${DB_PASSWORD} + MARIADB_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} + volumes: [ "db_data:/var/lib/mysql" ] + healthcheck: + test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + interval: 5s + retries: 30 + +volumes: + originals: + storage: + db_data: diff --git a/apps/pydio-cells/README.md b/apps/pydio-cells/README.md new file mode 100644 index 0000000..e3acfe2 --- /dev/null +++ b/apps/pydio-cells/README.md @@ -0,0 +1,13 @@ +## First login + +Sign in as `admin` with the **Admin password** from the app's Overview tab. Add people under **Cells Console → Identity Management → People**, and give them a password there; outgoing mail ports are blocked on Cottage, so Cells can't email invitations or password resets. + +## Workspaces and sharing + +Everyone gets a personal space, and **Common Files** is shared by all users. Create more workspaces in the Cells Console and choose who can read or write each one. To share with someone outside, right-click a file or folder and choose **Share**, then copy the public link, with an optional password and expiry date. + +The Pydio Cells desktop sync client and mobile apps connect with your app's full address, starting with `https://`. + +## Export your data + +Select files or folders and choose **Download** for a zip. Cottage also keeps nightly backups of the whole app. diff --git a/apps/pydio-cells/cottage.yml b/apps/pydio-cells/cottage.yml new file mode 100644 index 0000000..d061eba --- /dev/null +++ b/apps/pydio-cells/cottage.yml @@ -0,0 +1,14 @@ +name: Pydio Cells +tagline: Share and work on files together, with fine-grained access control. +category: Files +description: >- + A file sharing and collaboration platform. Organise files into workspaces, + share folders and links with people inside or outside your team, chat + alongside documents, and sync with the desktop and mobile apps. +upstream: https://github.com/pydio/cells +website: https://pydio.com +license: AGPL-3.0-only +images: + - ref: pydio/cells:5.1.1 + digest: sha256:91a82e3357a7c76722ff094c2ba2236eccf7819cb6ff9bf4e8aae66627174537 +mobile_apps: true diff --git a/apps/pydio-cells/icon.svg b/apps/pydio-cells/icon.svg new file mode 100644 index 0000000..d6d9a8c --- /dev/null +++ b/apps/pydio-cells/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/pydio-cells/template.yml b/apps/pydio-cells/template.yml new file mode 100644 index 0000000..a096eb5 --- /dev/null +++ b/apps/pydio-cells/template.yml @@ -0,0 +1,53 @@ +# Pydio Cells: file sharing and collaboration. One container with SQLite, one volume. +x-harbor: + slug: pydio-cells + name: Pydio Cells + description: File sharing and collaboration platform. + version: "5.1.1-c1" + primary: { service: app, port: 8080 } + health_path: /a/frontend/bootconf + default_resources: { cpu_millis: 1000, memory_mb: 1024, storage_mb: 20480 } + min_resources: { cpu_millis: 500, memory_mb: 768, storage_mb: 2048 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + parameters: + - { key: ADMIN_PASSWORD, label: Admin password (user admin), type: string, secret: true, generate: random32 } + +services: + app: + image: pydio/cells:5.1.1 + # Upstream's non-root variant only adds a user and chowns /var/cells; the volume is + # already handed to this uid, so the stock image runs as it directly. + user: "1000:1000" + # On first start, write the unattended-install file (admin and SQLite database) and run + # `cells configure` with it, as the image's entrypoint would; then always `cells start`. + entrypoint: + - /sbin/tini + - -- + - sh + - -c + - | + set -e + umask 077 + printf '%s\n' \ + 'frontendlogin: admin' \ + "frontendpassword: \"$$ADMIN_PASSWORD\"" \ + 'dbconnectiontype: manual' \ + 'dbmanualdsn: "sqlite:///var/cells/pydio.db?prefix={{.Meta.prefix}}&policies={{.Meta.policies}}&singular={{.Meta.singular}}"' \ + > /tmp/install.yml + if ! cells admin config check >/dev/null 2>&1; then + cells configure + fi + rm -f /tmp/install.yml + exec cells start + environment: + HOME: /var/cells + CELLS_INSTALL_YAML: /tmp/install.yml + CELLS_SITE_BIND: 0.0.0.0:8080 + CELLS_SITE_NO_TLS: "true" + CELLS_SITE_EXTERNAL: ${HARBOR_PUBLIC_URL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + volumes: [ "data:/var/cells" ] + +volumes: + data: diff --git a/apps/transmute/README.md b/apps/transmute/README.md new file mode 100644 index 0000000..f90dcc8 --- /dev/null +++ b/apps/transmute/README.md @@ -0,0 +1,15 @@ +## 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, create your account, then choose **Done** on the app's page so anyone you share the address with can reach the sign-in page. + +Add accounts for other people under **Settings → Users**. + +## Converting files + +Drop one or more files onto the main page, pick the format you want for each, and choose **Convert**. Finished files appear in your history for download. Large videos and long documents take a while; you can close the page and come back. + +Under **Settings** an admin can turn on automatic cleanup so old uploads and results don't fill your storage. + +## Export your data + +Download converted files from your history. Cottage also keeps nightly backups of the whole app. diff --git a/apps/transmute/cottage.yml b/apps/transmute/cottage.yml new file mode 100644 index 0000000..e5d66b3 --- /dev/null +++ b/apps/transmute/cottage.yml @@ -0,0 +1,16 @@ +name: Transmute +tagline: Convert images, video, audio, documents and data files in your browser. +category: Productivity +description: >- + A file converter you host yourself. Turn photos into other formats, video into + audio, Word documents into PDF, spreadsheets into CSV, ebooks between formats + and more, without uploading anything to a third-party service. +upstream: https://github.com/transmute-app/transmute +website: https://github.com/transmute-app/transmute +license: MIT +images: + - ref: ghcr.io/transmute-app/transmute:2.1.1 + digest: sha256:87b669d835d9e68bdbc4082ab061cb361cd3ecee69c14ccfa9a3814d326b6707 +mobile_apps: false +# The first visit creates the admin account. +first_visit_claims_admin: true diff --git a/apps/transmute/icon.svg b/apps/transmute/icon.svg new file mode 100644 index 0000000..89c2171 --- /dev/null +++ b/apps/transmute/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/transmute/template.yml b/apps/transmute/template.yml new file mode 100644 index 0000000..a1d6667 --- /dev/null +++ b/apps/transmute/template.yml @@ -0,0 +1,32 @@ +# Transmute: convert images, video, audio, documents and data files in the browser. +x-harbor: + slug: transmute + name: Transmute + description: Self-hosted file converter. + version: "2.1.1-c1" + primary: { service: app, port: 3313 } + health_path: /api/health/ready + default_resources: { cpu_millis: 1000, memory_mb: 1536, storage_mb: 10240 } + min_resources: { cpu_millis: 500, memory_mb: 768, storage_mb: 2048 } + volumes: + data: { uid: 1000, gid: 1000, mode: "0750" } + parameters: + - { key: AUTH_SECRET_KEY, label: Session signing key, type: string, secret: true, generate: hex32 } + +services: + app: + image: ghcr.io/transmute-app/transmute:2.1.1 + # Upstream's Kubernetes example runs it as uid 1000. + user: "1000:1000" + environment: + APP_URL: ${HARBOR_PUBLIC_URL} + AUTH_SECRET_KEY: ${AUTH_SECRET_KEY} + # LibreOffice, Calibre and Inkscape keep their profiles under $HOME. + HOME: /tmp + # Fewer parallel conversions keep LibreOffice and ffmpeg within the memory limit. + CONVERSION_WORKER_CONCURRENCY: "2" + COMPRESSION_WORKER_CONCURRENCY: "2" + volumes: [ "data:/app/data" ] + +volumes: + data: