Add seven publishing, data and archiving apps (batch 12) (#19)

* Add Ghost

* Add WordPress

* Add openGym

* Add Open DroneLog

* Add Open WebUI

* Add ArchiveBox

* Add Baserow
This commit is contained in:
michael authored and GitHub committed 2026-11-22 12:04:30 -05:00
1 parent 3a324ca42f
commit 098ac78a6c
28 files changed
+635

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
## First login
Choose **Log in** and sign in as `admin` with the **Admin password** from the app's Overview tab. You can change it with **Change password** at the top of the admin pages.
Your archive is private: only signed-in users can see snapshots, and nobody can add URLs without signing in. To let anyone browse the list of snapshots, turn on **Let anyone browse the list of snapshots** on the Overview tab; each snapshot still has its own visibility (private, unlisted or public), which you can change when you share it.
## Archive your first pages
Choose **Add**, paste one or more URLs (or a whole page of links, a bookmarks export or an RSS feed), pick a depth, and submit. ArchiveBox fetches each page with its own Chromium and saves several copies of it; it can take a minute or two per page. Snapshots appear on the main page as they finish.
Archived pages are shown without their JavaScript, which keeps them from reaching your admin session. Saved PDFs, screenshots and single-file copies look just like the original.
## Export your data
Each snapshot's page links to every file it saved (HTML, PDF, screenshot, media and more), so you can download any of them. The files are plain formats that open without ArchiveBox. Cottage also keeps nightly backups of the whole app, archive included.
+15
View File
@@ -0,0 +1,15 @@
name: ArchiveBox
tagline: Save copies of the web pages you care about, before they disappear.
category: Bookmarks
description: >-
Give it a URL, a list of links or a browser bookmarks export, and it saves
each page as HTML, a PDF, a screenshot, a single-file copy, its media and
text, with a headless Chromium. Search and browse your archive, and keep it
private or share snapshots with anyone.
upstream: https://github.com/ArchiveBox/ArchiveBox/tree/v0.9.77
website: https://archivebox.io
license: MIT
images:
- ref: archivebox/archivebox:0.9.77
digest: sha256:f63170551ec48d7aa087c71e2d093156dbf4b4ed8680e2f97f22483e3bc71e55
mobile_apps: false
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#6A4C2E"/><rect x="12" y="14" width="40" height="10" rx="3" fill="none" stroke="#fff" stroke-width="4"/><path d="M16 24v22a4 4 0 0 0 4 4h24a4 4 0 0 0 4-4V24" fill="none" stroke="#fff" stroke-width="4"/><path d="M27 33h10" stroke="#fff" stroke-width="4" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 387 B

+37
View File
@@ -0,0 +1,37 @@
# ArchiveBox: saves web pages as HTML, PDF, screenshots and more, with a headless Chromium.
x-harbor:
slug: archivebox
name: ArchiveBox
description: Self-hosted web archiving.
version: "0.9.77-c1"
primary: { service: app, port: 5797 }
health_path: /health/
default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 20480 }
min_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 5120 }
volumes:
data: { uid: 911, gid: 911, mode: "0750" }
parameters:
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 }
- { key: PUBLIC_INDEX, label: Let anyone browse the list of snapshots, type: bool, default: "false", editable: true }
services:
app:
image: archivebox/archivebox:0.9.77
# The image's archivebox user. Started as this user, the entrypoint skips
# its ownership repair and checks that it can write where it needs to.
user: "911:911"
environment:
BASE_URL: ${HARBOR_PUBLIC_URL}
# One hostname, no wildcard subdomains: archived pages are replayed
# without their JavaScript, so they can't reach the admin session.
SERVER_SECURITY_MODE: safe-onedomain-nojsreplay
ADMIN_USERNAME: admin
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
PUBLIC_INDEX: ${PUBLIC_INDEX}
PUBLIC_ADD_VIEW: "False"
# New snapshots need a login to view, unless you share them yourself.
PERMISSIONS: private
volumes: [ "data:/data" ]
volumes:
data:
+15
View File
@@ -0,0 +1,15 @@
## First login
The first account created becomes the admin, so until you've made yours only you can open the app. Open it from your Cottage dashboard, choose **Sign up** and create your account, then choose **Done** on the app's page so anyone you share the address with can reach it.
Then close sign-ups: open **Admin → Settings** and turn off **Allow creating new accounts**. You can still invite people to your workspace.
## Invite your team
Open your workspace's **Members** page and choose **Invite member**. Outbound mail ports are blocked on Cottage, so the invitation email won't arrive. Instead, turn **Allow creating new accounts** back on for a moment, ask the person to sign up on your app's address with the email you invited, then turn it off again. The invitation is waiting on their dashboard when they sign in.
**Forgot password** can't send its email either, but as admin you can set a new password for anyone under **Admin → Users**.
## Export your data
Open a table's menu and choose **Export table** for a CSV, or use **Export workspace** in the workspace's settings to get a file you can import into another Baserow. Cottage also keeps nightly backups of the whole app, database included.
+21
View File
@@ -0,0 +1,21 @@
name: Baserow
tagline: Build databases as easily as spreadsheets, with no code.
category: Productivity
description: >-
Organise anything in tables with rich field types, then view it as a grid,
kanban, gallery, calendar or form. Link tables, collaborate in real time and
connect other tools through the REST API. A familiar alternative to Airtable.
Cottage runs the open-source edition; premium features stay locked.
upstream: https://github.com/baserow/baserow/tree/2.4.3
website: https://baserow.io
license: MIT
images:
- ref: baserow/baserow:2.4.3
digest: sha256:304bebe22bf4c66d96d11bb746727492fa91637bd6deb807b2ef464f071c215c
- ref: postgres:18.7-alpine
digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
- ref: redis:8.10.3-alpine
digest: sha256:7958cfbb9d152f87dadfbc89f1b0b15938f0b81ff8982feb327476f4911935c3
mobile_apps: false
# The first account created becomes the instance admin.
first_visit_claims_admin: true
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#2D6A6A"/><rect x="12" y="14" width="40" height="36" rx="4" fill="none" stroke="#fff" stroke-width="4"/><path d="M12 26h40M12 38h40M26 14v36" stroke="#fff" stroke-width="4"/></svg>

After

Width:  |  Height:  |  Size: 284 B

+73
View File
@@ -0,0 +1,73 @@
# Baserow: a no-code database with a spreadsheet interface, with PostgreSQL and Redis.
x-harbor:
slug: baserow
name: Baserow
description: No-code database with a spreadsheet interface.
version: "2.4.3-c1"
primary: { service: app, port: 8080 }
health_path: /api/_health/
default_resources: { cpu_millis: 1500, memory_mb: 3072, storage_mb: 10240 }
min_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 2048 }
weights: { app: 6, db: 2, redis: 1 }
volumes:
data: { uid: 9999, gid: 9999, mode: "0750" }
db_data: { uid: 70, gid: 70, mode: "0700" }
redis_data: { uid: 999, gid: 1000, mode: "0750" }
parameters:
- { key: SECRET_KEY, label: Secret key, type: string, secret: true, generate: random32 }
- { key: JWT_SIGNING_KEY, label: JWT signing key, type: string, secret: true, generate: random32 }
- { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 }
services:
app:
image: baserow/baserow:2.4.3
# The all-in-one image's own user. Supervisor starts every process as this
# user, so Caddy is told to run as it too and serve plain HTTP above 1024.
user: "9999:9999"
depends_on:
db: { condition: service_healthy }
redis: { condition: service_healthy }
environment:
BASEROW_PUBLIC_URL: ${HARBOR_PUBLIC_URL}
BASEROW_CADDY_ADDRESSES: "http://:8080"
BASEROW_CADDY_USER: baserow_docker_user
SECRET_KEY: ${SECRET_KEY}
BASEROW_JWT_SIGNING_KEY: ${JWT_SIGNING_KEY}
DATABASE_HOST: db
DATABASE_NAME: baserow
DATABASE_USER: baserow
DATABASE_PASSWORD: ${DB_PASSWORD}
DISABLE_EMBEDDED_PSQL: "yes"
REDIS_URL: redis://redis:6379/0
DISABLE_EMBEDDED_REDIS: "yes"
# One combined Celery worker instead of three, to save memory.
BASEROW_RUN_MINIMAL: "yes"
BASEROW_AMOUNT_OF_GUNICORN_WORKERS: "2"
BASEROW_AMOUNT_OF_WORKERS: "1"
volumes: [ "data:/baserow/data" ]
db:
image: postgres:18.7-alpine
user: "70:70"
environment:
POSTGRES_DB: baserow
POSTGRES_USER: baserow
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes: [ "db_data:/var/lib/postgresql" ]
healthcheck:
test: [ "CMD", "pg_isready", "-U", "baserow", "-d", "baserow" ]
interval: 5s
retries: 30
redis:
image: redis:8.10.3-alpine
user: "999:1000"
command: [ "redis-server", "--appendonly", "yes", "--maxmemory-policy", "noeviction" ]
volumes: [ "redis_data:/data" ]
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
retries: 30
volumes:
data:
db_data:
redis_data:
+15
View File
@@ -0,0 +1,15 @@
## First login
The first visit to `/ghost` asks you to name your site and create its owner account, so until you've done that only you can open the app. Open `/ghost` on your app's address from your Cottage dashboard, fill in the setup form, then choose **Done** on the app's page so readers can reach your site.
Outgoing mail ports are blocked on Cottage, so Ghost can't send email. Staff sign in with their email address and password alone (the emailed new-device code is turned off), and **Forgot password** won't work: keep your password somewhere safe.
## Members and newsletters
Member sign-up and sign-in work by emailed links, which can't arrive here. Under **Settings → Membership**, set **Subscription access** to **Nobody** so visitors don't see a sign-up form that never sends its link. Your posts stay public to everyone.
To add staff, open **Settings → Staff**, choose **Invite people**, and copy the invite link to send it yourself.
## Export your data
Open **Settings → Advanced → Import/Export** and choose **Export** for a JSON file of your posts, pages, tags and settings. Download your theme from **Settings → Design** as well. Cottage also keeps nightly backups of the whole app, database and images included.
+19
View File
@@ -0,0 +1,19 @@
name: Ghost
tagline: Publish a blog or magazine on your own site, with a modern editor.
category: Publishing
description: >-
Write and publish posts and pages in a fast, focused editor, with themes,
tags, staff roles and scheduling. Cottage offers managed hosting for Ghost,
the open-source publishing platform; this service isn't provided by or
affiliated with the Ghost Foundation.
upstream: https://github.com/TryGhost/Ghost/tree/v6.78.0
website: https://ghost.org
license: MIT
images:
- ref: ghost:6.78.0
digest: sha256:985ef9f30fb897a29050a9ef956bff1737ff1f2cd955aa5b759b88251f9c8735
- ref: mysql:8.4.13
digest: sha256:a81d043930e51745522bd5c430961cf8286f0a23f0a9a2a6e0108f7ea71b0902
mobile_apps: false
# The first visit to /ghost creates the site owner.
first_visit_claims_admin: true
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#3A3F4B"/><path d="M42 14 22 34l-3 11 11-3 20-20z" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><path d="M38 18l8 8" stroke="#fff" stroke-width="4"/><path d="M14 52h36" stroke="#fff" stroke-width="4" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 357 B

+55
View File
@@ -0,0 +1,55 @@
# Ghost: a publishing platform for blogs and newsletters, with MySQL 8.
x-harbor:
slug: ghost
name: Ghost
description: Publishing platform for blogs and newsletters.
version: "6.78.0-c1"
primary: { service: app, port: 2368 }
health_path: /ghost/api/admin/site/
default_resources: { cpu_millis: 1000, memory_mb: 1536, storage_mb: 10240 }
min_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 2048 }
weights: { app: 3, db: 2 }
volumes:
content: { uid: 1000, gid: 1000, mode: "0750" }
db_data: { uid: 999, gid: 999, mode: "0750" }
parameters:
- { 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: ghost:6.78.0
# Run as the image's node user; the entrypoint skips its chown and seeds
# the default themes into the content volume.
user: "1000:1000"
depends_on:
db: { condition: service_healthy }
environment:
url: ${HARBOR_PUBLIC_URL}
database__client: mysql
database__connection__host: db
database__connection__user: ghost
database__connection__password: ${DB_PASSWORD}
database__connection__database: ghost
# Outgoing mail is blocked, so the emailed sign-in code for new devices
# could never arrive. Staff sign in with their password alone.
security__staffDeviceVerification: "false"
volumes: [ "content:/var/lib/ghost/content" ]
db:
image: mysql:8.4.13
user: "999:999"
environment:
MYSQL_DATABASE: ghost
MYSQL_USER: ghost
MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
volumes: [ "db_data:/var/lib/mysql" ]
healthcheck:
# TCP to 127.0.0.1 only answers once initialisation has finished.
test: [ "CMD-SHELL", "mysqladmin ping -h 127.0.0.1 -u ghost -p\"$$MYSQL_PASSWORD\" --silent" ]
interval: 5s
retries: 60
volumes:
content:
db_data:
+19
View File
@@ -0,0 +1,19 @@
## First login
Open the app and unlock the **default** profile with the **Default profile password** from the app's Overview tab. You can change it under **Settings → Profile Password**.
## Add your flights
Choose **Import** and pick one or more flight logs from your computer: DJI `.txt` logs, Litchi and Airdata CSV exports and more. Each flight appears on the map with its telemetry, and the overview adds up hours, distance and battery cycles.
The first DJI import fetches a decryption key from DJI, using a key bundled with the app. If you import a lot, get your own free key from DJI's developer site and add it under **Settings**.
Logs on a phone or remote controller have to be copied to a computer before you upload them. For automatic uploads from a folder, the project's companion app, opendronelog-sync, can send new logs to your app's address.
## Profiles
To give another pilot their own logbook, open the profile selector next to the logo and choose **New Profile**. Creating or deleting a profile asks for the **Master password for profiles** from the Overview tab. Give each profile its own password.
## Export your data
Open **Settings** and download a backup of the current profile, which you can restore into any Open DroneLog. Cottage also keeps nightly backups of the whole app, uploaded log files included.
+15
View File
@@ -0,0 +1,15 @@
name: Open DroneLog
tagline: A private logbook for your drone flights, with maps and telemetry.
category: Hobbies
description: >-
Upload flight logs from DJI, Litchi, Airdata and other sources and replay
each flight on a map with charts for height, speed, battery and signal. Keep
totals per drone and battery, tag flights, and give each pilot their own
password-protected profile.
upstream: https://github.com/arpanghosh8453/open-dronelog/tree/3.3.3
website: https://github.com/arpanghosh8453/open-dronelog
license: AGPL-3.0-only
images:
- ref: ghcr.io/arpanghosh8453/open-dronelog:3.3.3
digest: sha256:544582e001d0256c371baa810cb17e5c3d59e06c0282e23a63aa15111939da08
mobile_apps: false
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#2E5E4E"/><path d="M22 22l20 20M42 22 22 42" stroke="#fff" stroke-width="4" stroke-linecap="round"/><circle cx="18" cy="18" r="7" fill="none" stroke="#fff" stroke-width="4"/><circle cx="46" cy="18" r="7" fill="none" stroke="#fff" stroke-width="4"/><circle cx="18" cy="46" r="7" fill="none" stroke="#fff" stroke-width="4"/><circle cx="46" cy="46" r="7" fill="none" stroke="#fff" stroke-width="4"/><rect x="27" y="27" width="10" height="10" rx="2" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 569 B

+59
View File
@@ -0,0 +1,59 @@
# Open DroneLog: a flight log viewer and logbook for drones. One container: API plus nginx.
x-harbor:
slug: open-dronelog
name: Open DroneLog
description: Flight logbook and log analyser for drones.
version: "3.3.3-c1"
primary: { service: app, port: 8080 }
health_path: /api/profiles/has_master_password
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: DEFAULT_PROFILE_PASSWORD, label: Default profile password, type: string, secret: true, generate: random16 }
- { key: PROFILE_CREATION_PASS, label: Master password for profiles, type: string, secret: true, generate: random16 }
services:
app:
image: ghcr.io/arpanghosh8453/open-dronelog:3.3.3
# The image's node user. Its entrypoint starts nginx on port 80 as root, so
# start the API and nginx directly, with copies of the stock nginx config
# that listen on 8080 and keep their temporary files in /tmp.
user: "1000:1000"
entrypoint: [ "/bin/sh", "-c" ]
command:
- |
set -eu
sed 's/listen 80;/listen 8080;/' /etc/nginx/conf.d/default.conf > /tmp/site.conf
cat > /tmp/nginx.conf <<'CONF'
pid /tmp/nginx.pid;
error_log stderr;
events { worker_connections 512; }
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log off;
sendfile on;
client_body_temp_path /tmp/client_temp;
proxy_temp_path /tmp/proxy_temp;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
include /tmp/site.conf;
}
CONF
/app/open-dronelog &
exec nginx -e stderr -c /tmp/nginx.conf -g 'daemon off;'
environment:
DATA_DIR: /data/drone-logbook
RUST_LOG: info
KEEP_UPLOADED_FILES: "true"
# The default profile is locked with a generated password, and creating
# or deleting profiles needs the master password.
DEFAULT_PROFILE_PASSWORD: ${DEFAULT_PROFILE_PASSWORD}
PROFILE_CREATION_PASS: ${PROFILE_CREATION_PASS}
volumes: [ "data:/data/drone-logbook" ]
volumes:
data:
+15
View File
@@ -0,0 +1,15 @@
## First login
Sign in with the email `admin@` followed by your app's hostname (for example `[email protected]`) and the **Admin password** from the app's Overview tab. Then open **Settings → Account** to change your name, email and password.
New sign-ups are off. Outgoing mail ports are blocked on Cottage, so to add people, open **Admin Panel → Users**, choose **+**, and give them the email and password you set. You can also turn sign-ups on under **Admin Panel → Settings → General**; new accounts then wait for you to approve them.
## Connect a model
No AI model runs on Cottage itself. Open **Admin Panel → Settings → Connections** and add an OpenAI-compatible API: OpenAI, OpenRouter, Mistral, Groq, a self-hosted Ollama or vLLM server you can reach over HTTPS, and many more. Paste the API's base URL and your key, save, and its models appear in the model picker. Usage is billed by that provider, not by Cottage.
Document uploads use a small embedding model that ships with the app and runs on its CPU, so retrieval works without any extra setup.
## Export your data
Each chat's menu has **Download** for JSON, text or PDF, and **Settings → Data Controls → Export Chats** saves them all. As admin, **Admin Panel → Settings → Database** can download the whole database. Cottage also keeps nightly backups of the whole app.
+15
View File
@@ -0,0 +1,15 @@
name: Open WebUI
tagline: A private chat interface for the AI models and API you choose.
category: AI
description: >-
Chat with AI models from any OpenAI-compatible API in a familiar interface,
with chat history, document uploads for retrieval, prompts, model presets and
accounts for your team. Bring your own API key; no model runs on Cottage
itself. Cottage runs the unmodified upstream image.
upstream: https://github.com/open-webui/open-webui/tree/v0.13.4
website: https://openwebui.com
license: LicenseRef-Open-WebUI
images:
- ref: ghcr.io/open-webui/open-webui:v0.13.4
digest: sha256:d5168bfbc28609eff5bea1b438dd864cf64d185cf6582c02244865e18385b901
mobile_apps: false
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#444B5A"/><path d="M14 18a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4v18a4 4 0 0 1-4 4H28l-9 8v-8h-1a4 4 0 0 1-4-4z" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><circle cx="24" cy="27" r="2.5" fill="#fff"/><circle cx="32" cy="27" r="2.5" fill="#fff"/><circle cx="40" cy="27" r="2.5" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 417 B

+41
View File
@@ -0,0 +1,41 @@
# Open WebUI: a chat interface for AI models, connected to an OpenAI-compatible API the owner supplies.
x-harbor:
slug: open-webui
name: Open WebUI
description: Chat interface for AI models.
version: "0.13.4-c1"
primary: { service: app, port: 8080 }
health_path: /health
default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 10240 }
min_resources: { cpu_millis: 500, memory_mb: 1536, storage_mb: 2048 }
volumes:
data: { uid: 1000, gid: 1000, mode: "0750" }
parameters:
- { key: WEBUI_SECRET_KEY, label: Session secret, type: string, secret: true, generate: random32 }
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 }
services:
app:
image: ghcr.io/open-webui/open-webui:v0.13.4
user: "1000:1000"
environment:
WEBUI_URL: ${HARBOR_PUBLIC_URL}
WEBUI_SECRET_KEY: ${WEBUI_SECRET_KEY}
# Chats, uploads and settings live on the volume. The embedding, speech
# and tokenizer models stay where the image put them, under
# /app/backend/data/cache, so they aren't downloaded again.
DATA_DIR: /data
# The image's static folder belongs to root; serve a fresh copy from /tmp.
STATIC_DIR: /tmp/static
HOME: /tmp
# The admin account is created on first start, and that turns sign-ups off.
WEBUI_ADMIN_EMAIL: admin@${HARBOR_HOSTNAME}
WEBUI_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
WEBUI_ADMIN_NAME: Admin
ENABLE_SIGNUP: "false"
# No Ollama runs alongside; the owner adds an OpenAI-compatible API.
ENABLE_OLLAMA_API: "false"
volumes: [ "data:/data" ]
volumes:
data:
+16
View File
@@ -0,0 +1,16 @@
## First login
The first profile created becomes the owner, with the admin dashboard, so until you've made yours only you can open the app. Open it from your Cottage dashboard, choose **Create profile** and save a passkey (or a password), then:
1. On the app's Overview tab in Cottage, turn on **Require an invite code to create a profile**, so nobody else who finds your address can sign up. The app restarts with the new setting.
2. Choose **Done** on the app's page so anyone you share the address with can reach it.
## Invite people and add your phone
Open the admin dashboard from your profile menu and create an invite code for each person you'd like to train with. Send them the code and your app's address.
To use openGym on your phone, open your app's address there, or pair the mobile app with the one-time code from **Settings** on a device that's already signed in.
## Export your data
Open **Settings** and export everything as one JSON file, or your workouts and body data as a spreadsheet (CSV). Cottage also keeps nightly backups of the whole app.
+19
View File
@@ -0,0 +1,19 @@
name: openGym
tagline: Plan routines, log workouts and track your progress at the gym.
category: Health
description: >-
A workout and body-weight tracker with routines, supersets, cardio,
progression rules, personal records and a muscle map of where your training
went. Sign in with a passkey, sync across your devices, and import from
Strong, Hevy or FitNotes.
upstream: https://github.com/DuarteSantos8/openGym/tree/v1.4.5
website: https://opengym.ch
license: AGPL-3.0-or-later
images:
- ref: ghcr.io/duartesantos8/opengym-api:1.4.5
digest: sha256:397c83e9ac33a413bc8f21e66b2e55038100fc7f9da900d80be28b30fbb12ea8
- ref: ghcr.io/duartesantos8/opengym-web:1.4.5
digest: sha256:e621677554302a0e1745e3b8c90acddc7d7149e118c4d683d51c13aa88f47d27
mobile_apps: true
# The first profile created becomes the owner and admin.
first_visit_claims_admin: true
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#B4432F"/><path d="M22 32h20" stroke="#fff" stroke-width="5" stroke-linecap="round"/><rect x="13" y="21" width="8" height="22" rx="3" fill="#fff"/><rect x="43" y="21" width="8" height="22" rx="3" fill="#fff"/><path d="M9 28v8M55 28v8" stroke="#fff" stroke-width="4" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 400 B

+45
View File
@@ -0,0 +1,45 @@
# openGym: a workout and body-weight tracker. An API with its data volume, and an nginx front end.
x-harbor:
slug: opengym
name: openGym
description: Workout and body-weight tracker.
version: "1.4.5-c1"
primary: { service: web, port: 8080 }
health_path: /api/health
default_resources: { cpu_millis: 500, memory_mb: 384, storage_mb: 5120 }
min_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 1024 }
weights: { api: 3, web: 1 }
volumes:
data: { uid: 1000, gid: 1000, mode: "0750" }
parameters:
- { key: INVITE_ONLY, label: Require an invite code to create a profile, type: bool, default: "false", editable: true }
- { key: PASSWORD_LOGIN, label: Allow sign-in with a password as well as passkeys, type: bool, default: "true", editable: true }
services:
api:
image: ghcr.io/duartesantos8/opengym-api:1.4.5
# The image's node user; the API only writes to /data.
user: "1000:1000"
environment:
DATA_DIR: /data
PORT: "3000"
ORIGIN: ${HARBOR_PUBLIC_URL}
RP_ID: ${HARBOR_HOSTNAME}
TRUST_PROXY: "1"
# The first profile created becomes the owner, with the admin dashboard.
FIRST_USER_ADMIN: "1"
INVITE_ONLY: ${INVITE_ONLY}
PASSWORD_LOGIN: ${PASSWORD_LOGIN}
volumes: [ "data:/data" ]
web:
image: ghcr.io/duartesantos8/opengym-web:1.4.5
# nginx-unprivileged's own user, on a port above 1024.
user: "101:101"
depends_on: [ api ]
environment:
NGINX_PORT: "8080"
BACKEND: api
PORT: "3000"
volumes:
data:
+15
View File
@@ -0,0 +1,15 @@
## First login
The first visit runs the WordPress installer, which asks for your site's title and creates its admin account, so until you've done that only you can open the app. Open it from your Cottage dashboard, choose a language, fill in the form, then choose **Done** on the app's page so visitors can reach your site.
Sign in at `/wp-admin` on your app's address. Outgoing mail ports are blocked on Cottage, so WordPress can't send email: **Lost your password?** won't arrive, so keep your password somewhere safe. Another admin can set a new one for you under **Users**.
## Make it yours
Choose a theme under **Appearance → Themes**, then edit your home page and menus under **Appearance → Editor**. Add features from **Plugins → Add New Plugin**. Anyone-can-register stays off unless you turn it on under **Settings → General**; to add people, use **Users → Add New User** and give them their password yourself.
WordPress itself updates when Cottage updates the app, so the dashboard's core update button is turned off. Plugins and themes update from the dashboard as usual.
## Export your data
Open **Tools → Export** for an XML file of your posts, pages and comments that any WordPress site can import. Your uploads, themes and plugins live in `wp-content`. Cottage also keeps nightly backups of the whole app, database included.
+19
View File
@@ -0,0 +1,19 @@
name: WordPress
tagline: Build a website or blog with the web's most popular publishing software.
category: Publishing
description: >-
This service runs WordPress, the open-source software behind millions of
sites. Write posts and pages in the block editor, choose a theme, and add
features with thousands of free plugins. Cottage isn't affiliated with or
endorsed by the WordPress Foundation or WordPress.org.
upstream: https://github.com/WordPress/WordPress/tree/7.1.5
website: https://wordpress.org
license: GPL-2.0-or-later
images:
- ref: wordpress:7.1.5-php8.4-apache
digest: sha256:9ad529b57c01fd71f161f331f638b83ef50ac7f095095d52bb222b7bc3b4d10b
- ref: mariadb:11.4.13
digest: sha256:a8992b5e5404d11e03c54a31d0c1bdea3fd116d283aa6d1a627551f29045309b
mobile_apps: true
# The first visit runs the installer, which creates the admin account.
first_visit_claims_admin: true
+1
View File
@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#2F5D8A"/><rect x="12" y="14" width="40" height="36" rx="4" fill="none" stroke="#fff" stroke-width="4"/><path d="M12 24h40" stroke="#fff" stroke-width="4"/><path d="M20 32h24M20 40h16" stroke="#fff" stroke-width="4" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 350 B

+85
View File
@@ -0,0 +1,85 @@
# WordPress: the PHP publishing platform, on Apache, with MariaDB.
x-harbor:
slug: wordpress
name: WordPress
description: Website and blog publishing software.
version: "7.1.5-c1"
primary: { service: app, port: 8080 }
# A static file: every PHP page redirects to the installer until setup is done.
health_path: /wp-includes/images/blank.gif
default_resources: { cpu_millis: 1000, memory_mb: 1024, storage_mb: 10240 }
min_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 1024 }
weights: { app: 3, db: 2 }
volumes:
wp_content: { uid: 33, gid: 33, mode: "0750" }
db_data: { uid: 999, gid: 999, mode: "0750" }
parameters:
- { 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: WP_AUTH_KEY, label: Auth key, type: string, secret: true, generate: random32 }
- { key: WP_SECURE_AUTH_KEY, label: Secure auth key, type: string, secret: true, generate: random32 }
- { key: WP_LOGGED_IN_KEY, label: Logged-in key, type: string, secret: true, generate: random32 }
- { key: WP_NONCE_KEY, label: Nonce key, type: string, secret: true, generate: random32 }
- { key: WP_AUTH_SALT, label: Auth salt, type: string, secret: true, generate: random32 }
- { key: WP_SECURE_AUTH_SALT, label: Secure auth salt, type: string, secret: true, generate: random32 }
- { key: WP_LOGGED_IN_SALT, label: Logged-in salt, type: string, secret: true, generate: random32 }
- { key: WP_NONCE_SALT, label: Nonce salt, type: string, secret: true, generate: random32 }
services:
app:
image: wordpress:7.1.5-php8.4-apache
user: "33:33"
depends_on:
db: { condition: service_healthy }
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_PASSWORD: ${DB_PASSWORD}
WORDPRESS_AUTH_KEY: ${WP_AUTH_KEY}
WORDPRESS_SECURE_AUTH_KEY: ${WP_SECURE_AUTH_KEY}
WORDPRESS_LOGGED_IN_KEY: ${WP_LOGGED_IN_KEY}
WORDPRESS_NONCE_KEY: ${WP_NONCE_KEY}
WORDPRESS_AUTH_SALT: ${WP_AUTH_SALT}
WORDPRESS_SECURE_AUTH_SALT: ${WP_SECURE_AUTH_SALT}
WORDPRESS_LOGGED_IN_SALT: ${WP_LOGGED_IN_SALT}
WORDPRESS_NONCE_SALT: ${WP_NONCE_SALT}
WP_URL: ${HARBOR_PUBLIC_URL}
# Only wp-content is kept, so WordPress itself updates with the image
# rather than from the dashboard.
WORDPRESS_CONFIG_EXTRA: |
define('WP_HOME', getenv('WP_URL'));
define('WP_SITEURL', getenv('WP_URL'));
define('WP_AUTO_UPDATE_CORE', false);
entrypoint: [ "/bin/bash", "-c" ]
command:
- |
set -eu
# Apache on 8080: copies of the stock config with only the port changed.
sed 's/^Listen 80$$/Listen 8080/' /etc/apache2/ports.conf > /tmp/ports.conf
sed 's/:80>/:8080>/' /etc/apache2/sites-enabled/000-default.conf > /tmp/site.conf
# Never run scripts from the uploads directory.
printf '<Directory /var/www/html/wp-content/uploads>\n php_admin_flag engine off\n</Directory>\n' >> /tmp/site.conf
sed -e 's#^Include ports.conf#Include /tmp/ports.conf#' \
-e 's#^IncludeOptional sites-enabled/\*.conf#Include /tmp/site.conf#' \
/etc/apache2/apache2.conf > /tmp/apache2.conf
# The image's entrypoint copies WordPress into place and writes wp-config.php.
exec docker-entrypoint.sh apache2-foreground -f /tmp/apache2.conf
volumes: [ "wp_content:/var/www/html/wp-content" ]
db:
image: mariadb:11.4.13
user: "999:999"
environment:
MARIADB_DATABASE: wordpress
MARIADB_USER: wordpress
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:
wp_content:
db_data: