Add six chat and community apps (batch 10) (#16)

* Add The Lounge

* Add Convos

* Add Answer

* Add Mattermost

* Add Roundcube

* Add Rocket.Chat
This commit is contained in:
michael authored and GitHub committed 2026-11-22 11:42:06 -05:00
1 parent a4cfef953b
commit eaeb20a806
24 files changed
+464

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
## First login
Choose **Log in** and sign in with the **Admin sign-in email** (`[email protected]` unless you changed it) and the **Admin password** from the app's Overview tab. Cottage only uses those when the app first installs. Change the password under **Settings → Account** once you're in.
## Add people
Open registration is off, because new accounts need an email confirmation and outbound mail ports are blocked on Cottage. Add people yourself under **Admin → Users → Add user**, with an email address and a starting password for each.
If you'd rather let anyone sign up, turn on **Admin → Login → Allow new registrations** and turn off **Require email verification**. Anyone who finds your address can then make an account.
## Make it yours
Under **Admin → General**, give the site its name and description, and under **Admin → Branding** add your logo. Then create a few tags and ask the first question.
## Export your data
Questions, answers and tags are readable over Answer's API, but there's no export button. Cottage keeps nightly backups of the whole app, database included.
+14
View File
@@ -0,0 +1,14 @@
name: Answer
tagline: A question-and-answer site for your team or community.
category: Community
description: >-
Apache Answer is a Q&A platform in the style of Stack Overflow. Ask and answer
questions, vote on the best replies, organise them with tags, and build a
searchable knowledge base for your product, community or team.
upstream: https://github.com/apache/answer
website: https://answer.apache.org
license: Apache-2.0
images:
- ref: apache/answer:2.0.3
digest: sha256:0863470d8293294b899f8b39a373df6d6250c3f3e412ea0e483924b41e23428f
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="#0F766E"/><path d="M14 18a4 4 0 0 1 4-4h28a4 4 0 0 1 4 4v20a4 4 0 0 1-4 4H30l-10 8v-8h-2a4 4 0 0 1-4-4Z" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><path d="M26 23a6 6 0 1 1 8 5.6c-1.3.5-2 1.5-2 2.9V32" fill="none" stroke="#fff" stroke-width="3.5" stroke-linecap="round"/><circle cx="32" cy="37.5" r="2.2" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 454 B

+57
View File
@@ -0,0 +1,57 @@
# Apache Answer: a Q&A community and knowledge base. One container, SQLite on one volume.
x-harbor:
slug: answer
name: Answer
description: Q&A platform for teams and communities.
version: "2.0.3-c1"
primary: { service: app, port: 8080 }
health_path: /robots.txt
default_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 5120 }
min_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 1024 }
volumes:
data: { uid: 1000, gid: 1000, mode: "0750" }
parameters:
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 }
# Answer signs in by email, and only uses these when it first installs.
- { key: ADMIN_EMAIL, label: Admin sign-in email, type: string, default: "[email protected]", editable: false }
- { key: SITE_NAME, label: Site name, type: string, default: "Answer", editable: false }
services:
app:
image: apache/answer:2.0.3
user: "1000:1000"
# Same steps as the image's entrypoint (install from the environment on first
# start, migrate, serve). On first install it also turns off open registration,
# which would otherwise need email verification that can't be sent from Cottage.
entrypoint: [ "/bin/sh", "-c" ]
command:
- |
set -e
answer init
answer upgrade
if [ ! -f /data/.cottage-registration-closed ]; then
sqlite3 /data/answer.db "UPDATE site_info SET content = json_set(content, '$$.allow_new_registrations', json('false')) WHERE type = 'login';"
touch /data/.cottage-registration-closed
fi
exec answer run -C /data/
environment:
TZ: UTC
# Above 1024 so it can listen without root (installer and server).
INSTALL_PORT: "8080"
SITE_ADDR: 0.0.0.0:8080
AUTO_INSTALL: "true"
DB_TYPE: sqlite3
DB_FILE: /data/answer.db
LANGUAGE: en_US
SITE_NAME: ${SITE_NAME}
SITE_URL: ${HARBOR_PUBLIC_URL}
CONTACT_EMAIL: ${ADMIN_EMAIL}
ADMIN_NAME: admin
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
ADMIN_EMAIL: ${ADMIN_EMAIL}
# Ask before loading images and embeds from other sites.
EXTERNAL_CONTENT_DISPLAY: ask_before_display
volumes: [ "data:/data" ]
volumes:
data:
+15
View File
@@ -0,0 +1,15 @@
## First login
The first person to register becomes the admin, so until you've done that only you can open the app. Open it from your Cottage dashboard, choose **Register**, create your account with your email address and a password, then choose **Done** on the app's page so anyone you share the address with can reach it.
Registration is closed after that: other people need an invite link from you.
## Connect and invite
Convos starts you on Libera.Chat. To add another network, open **Add connection** and enter its server, for example `irc.oftc.net:6697`. Convos stays connected when you close the browser, so the conversation is waiting when you come back.
To invite someone, open **Settings → Users** as the admin and create an invite link for their email address. Outbound mail ports are blocked on Cottage, so send them the link yourself. The same goes for password resets: the admin can make a reset link under **Users**.
## Export your data
Convos keeps your settings and chat logs as plain files. Cottage keeps nightly backups of the whole app, and can give you a copy of those files.
+15
View File
@@ -0,0 +1,15 @@
name: Convos
tagline: A friendly IRC client that stays online in your browser.
category: Communication
description: >-
Chat on IRC from any browser without keeping a laptop open. Convos stays
connected for you, keeps your history and search, shows link and image
previews, and lets you invite friends to their own accounts on the same app.
upstream: https://github.com/convos-chat/convos
website: https://convos.chat
license: Artistic-2.0
images:
- ref: ghcr.io/convos-chat/convos:v8.07
digest: sha256:d9ab6aefce1b47a1e6d10c70a558ae0120a35e32b1f92d87ca364bfa17f1f3a6
mobile_apps: false
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="#C2410C"/><path d="M12 16a4 4 0 0 1 4-4h22a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4H24l-7 6v-6h-1a4 4 0 0 1-4-4Z" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><path d="M48 24h0a4 4 0 0 1 4 4v14a4 4 0 0 1-4 4h-1v6l-7-6H30a4 4 0 0 1-4-4v-2" fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>

After

Width:  |  Height:  |  Size: 453 B

+24
View File
@@ -0,0 +1,24 @@
# Convos: an always-online IRC client in the browser. One container, one volume.
x-harbor:
slug: convos
name: Convos
description: Always-online web IRC client.
version: "8.07-c1"
primary: { service: app, port: 3000 }
health_path: /api.json
default_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 5120 }
min_resources: { cpu_millis: 100, memory_mb: 128, storage_mb: 1024 }
volumes:
data: { uid: 1000, gid: 1000, mode: "0750" }
services:
app:
image: ghcr.io/convos-chat/convos:v8.07
user: "1000:1000"
environment:
# Trust Cottage's proxy for the client address and https scheme.
CONVOS_REVERSE_PROXY: "1"
volumes: [ "data:/data" ]
volumes:
data:
+17
View File
@@ -0,0 +1,17 @@
## First login
The first account created on the app becomes its system admin, so until you've made yours only you can open it. Open the app from your Cottage dashboard, create your account, create your first team, then choose **Done** on the app's page so anyone you share the address with can reach it.
Open sign-ups are off: people join through an invite link.
## Invite your team
In your team's menu choose **Invite people** and copy the invite link. Outbound mail ports are blocked on Cottage, so Mattermost can't email invitations or notifications: send the link yourself. Email notifications are turned off for the same reason; desktop and mobile notifications still work.
## Apps
Install the Mattermost desktop and mobile apps and add your app's full address, starting with `https://`.
## Export your data
Team Edition has no export button in the web app (its bulk export runs from the server's command line). Cottage keeps nightly backups of the whole app, database and files included, and can give you a copy.
+19
View File
@@ -0,0 +1,19 @@
name: Mattermost
tagline: Team chat with channels, threads and calls, on a server you control.
category: Communication
description: >-
Cottage runs Mattermost software, Team Edition, for your team: channels,
direct messages, threads, file sharing, search and integrations, with
desktop and mobile apps. Mattermost is a trademark of Mattermost, Inc.;
Cottage is not affiliated with or endorsed by Mattermost, Inc.
upstream: https://github.com/mattermost/mattermost/tree/v12.1.0
website: https://mattermost.com
license: MIT
images:
- ref: mattermost/mattermost-team-edition:12.1.0
digest: sha256:35927b9c535a9eb74f0e45385d3fe5d8308b16e0464031f157a834da8af3ee73
- ref: postgres:18.7-alpine
digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
mobile_apps: true
# The first account created becomes the system 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="#1E325C"/><path d="M12 18a4 4 0 0 1 4-4h32a4 4 0 0 1 4 4v20a4 4 0 0 1-4 4H26l-10 8v-8a4 4 0 0 1-4-4Z" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><path d="M22 25h20M22 32h13" stroke="#fff" stroke-width="4" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 364 B

+57
View File
@@ -0,0 +1,57 @@
# Mattermost Team Edition: team chat, with PostgreSQL. Settings live in the database
# and files on one volume (uploaded plugins too; Mattermost syncs them at startup).
x-harbor:
slug: mattermost
name: Mattermost
description: Team chat and collaboration (Team Edition).
version: "12.1.0-c1"
primary: { service: app, port: 8065 }
health_path: /api/v4/system/ping
default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 20480 }
min_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 2048 }
weights: { app: 3, db: 2 }
volumes:
data: { uid: 2000, gid: 2000, mode: "0750" }
db_data: { uid: 70, gid: 70, mode: "0700" }
parameters:
- { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 }
services:
app:
image: mattermost/mattermost-team-edition:12.1.0
user: "2000:2000"
depends_on:
db: { condition: service_healthy }
environment:
# Keep the configuration in PostgreSQL rather than a config.json file.
MM_CONFIG: postgres://mattermost:${DB_PASSWORD}@db:5432/mattermost?sslmode=disable&connect_timeout=10
MM_SQLSETTINGS_DRIVERNAME: postgres
MM_SQLSETTINGS_DATASOURCE: postgres://mattermost:${DB_PASSWORD}@db:5432/mattermost?sslmode=disable&connect_timeout=10
MM_SERVICESETTINGS_SITEURL: ${HARBOR_PUBLIC_URL}
MM_SERVICESETTINGS_LISTENADDRESS: ":8065"
MM_FILESETTINGS_DIRECTORY: /mattermost/data/
MM_PLUGINSETTINGS_ENABLEUPLOADS: "true"
# Logs go to the container output only.
MM_LOGSETTINGS_ENABLEFILE: "false"
MM_NOTIFICATIONLOGSETTINGS_ENABLEFILE: "false"
# Outbound mail is blocked on Cottage.
MM_EMAILSETTINGS_SENDEMAILNOTIFICATIONS: "false"
MM_EMAILSETTINGS_REQUIREEMAILVERIFICATION: "false"
MM_LOGSETTINGS_ENABLEDIAGNOSTICS: "false"
volumes: [ "data:/mattermost/data" ]
db:
image: postgres:18.7-alpine
user: "70:70"
environment:
POSTGRES_DB: mattermost
POSTGRES_USER: mattermost
POSTGRES_PASSWORD: ${DB_PASSWORD}
volumes: [ "db_data:/var/lib/postgresql" ]
healthcheck:
test: [ "CMD", "pg_isready", "-U", "mattermost", "-d", "mattermost" ]
interval: 5s
retries: 30
volumes:
data:
db_data:
+19
View File
@@ -0,0 +1,19 @@
## First login
Sign in as `admin` with the **Admin password** from the app's Overview tab. Change it under **My account → Security** once you're in. Cottage only uses that password when the app first starts.
Rocket.Chat may offer to register your workspace with Rocket.Chat Cloud. That's optional: you can skip it and everything here keeps working.
## Add your team
Open registration is off. Add people under **Administration → Users → New user**, giving each a username and starting password, or set **Registration form** to **Public** under **Administration → Settings → Accounts → Registration** to let anyone with the address sign up.
Outbound mail ports are blocked on Cottage, so Rocket.Chat can't send invitation, password reset or notification emails. Desktop and mobile notifications still work.
## Apps
Install the Rocket.Chat desktop and mobile apps and add your app's full address, starting with `https://`.
## Export your data
Each person can download their messages and files from **My account → Preferences → My data**. Admins can export a room's history from the room's menu. Cottage also keeps nightly backups of the whole app, database and uploads included.
+16
View File
@@ -0,0 +1,16 @@
name: Rocket.Chat
tagline: Team chat with channels, threads and video calls, on your own server.
category: Communication
description: >-
Open-source team chat with public and private channels, direct messages,
threads, file sharing and search, plus desktop and mobile apps. Cottage runs
the community edition.
upstream: https://github.com/RocketChat/Rocket.Chat
website: https://rocket.chat
license: MIT
images:
- ref: rocketchat/rocket.chat:9.0.0
digest: sha256:ce4f33c7efc0f0cc672ed9c3de46d32d811a4b109df2247817d9a80ba283f415
- ref: mongo:8.0.38
digest: sha256:479e85ced54ffb8a40dade1dcde2da2a9ae858515b9415e9cc54bfb8f0575d01
mobile_apps: 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="#B91C1C"/><path d="M32 14c11 0 20 6.5 20 15s-9 15-20 15c-2 0-4-.2-5.8-.6L17 49l1.6-8.4C14.5 37.8 12 33.6 12 29c0-8.5 9-15 20-15Z" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><circle cx="24" cy="29" r="2.6" fill="#fff"/><circle cx="32" cy="29" r="2.6" fill="#fff"/><circle cx="40" cy="29" r="2.6" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 443 B

+57
View File
@@ -0,0 +1,57 @@
# Rocket.Chat (community edition): team chat, with MongoDB as a one-node replica set.
# Uploads are kept in MongoDB (GridFS), so the database volume holds everything.
x-harbor:
slug: rocket-chat
name: Rocket.Chat
description: Team chat with channels, threads and calls.
version: "9.0.0-c1"
primary: { service: app, port: 3000 }
health_path: /api/info
default_resources: { cpu_millis: 1000, memory_mb: 2048, storage_mb: 10240 }
min_resources: { cpu_millis: 500, memory_mb: 1280, storage_mb: 2048 }
weights: { app: 3, db: 2 }
volumes:
db_data: { uid: 999, gid: 999, mode: "0700" }
parameters:
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 }
services:
app:
image: rocketchat/rocket.chat:9.0.0
user: "65533:65533"
depends_on:
db: { condition: service_healthy }
environment:
ROOT_URL: ${HARBOR_PUBLIC_URL}
PORT: "3000"
MONGO_URL: mongodb://db:27017/rocketchat?replicaSet=rs0
DEPLOY_METHOD: docker
# The first start creates the `admin` account and skips the setup wizard.
ADMIN_PASS: ${ADMIN_PASSWORD}
ADMIN_EMAIL: admin@${HARBOR_HOSTNAME}
ADMIN_EMAIL_VERIFIED: "true"
OVERWRITE_SETTING_Show_Setup_Wizard: completed
# Starting values only (the admin can change them later): no open sign-ups,
# and no sign-in codes by email, which Cottage can't send.
Accounts_RegistrationForm: Disabled
Accounts_TwoFactorAuthentication_By_Email_Enabled: "false"
Accounts_TwoFactorAuthentication_By_Email_Auto_Opt_In: "false"
db:
image: mongo:8.0.38
user: "999:999"
command: [ "mongod", "--replSet", "rs0", "--bind_ip_all", "--wiredTigerCacheSizeGB", "0.25" ]
volumes: [ "db_data:/data/db" ]
# Rocket.Chat needs a replica set; this initiates it once, then reports healthy
# when the node is primary.
healthcheck:
test:
- CMD
- mongosh
- --quiet
- --eval
- "try { rs.status() } catch (e) { rs.initiate({ _id: 'rs0', members: [{ _id: 0, host: 'db:27017' }] }) }; quit(db.hello().isWritablePrimary ? 0 : 1)"
interval: 5s
retries: 30
volumes:
db_data:
+15
View File
@@ -0,0 +1,15 @@
## Before you sign in
Roundcube doesn't hold any mail itself: it opens a mailbox you already have, over IMAP. On the app's Overview tab, set **IMAP server** to your provider's IMAP address with `ssl://` in front (for example `ssl://imap.fastmail.com`) and leave **IMAP port** at `993`. Your provider's help pages list the address.
## First login
Open the app and sign in with your mailbox's email address and password. Many providers want an app password here rather than your usual one; you can make one in your provider's security settings. Anyone with an account on that mail server can sign in the same way, and nobody else can.
## Sending mail
Outbound mail ports 465 and 587 are blocked on Cottage, so with most providers Roundcube can read, search and organise mail but can't send it. If your provider also accepts mail submission on another port (some offer `2525`), set **SMTP server** and **SMTP port** to match, and sending will work.
## Export your data
Your mail stays on your provider's server. To save a message, open it and choose **More → Download (.eml)**, or select several and download them as a zip. Export contacts from **Contacts → Export** as vCard. Cottage also keeps nightly backups of Roundcube's settings and contacts.
+15
View File
@@ -0,0 +1,15 @@
name: Roundcube
tagline: Read and organise your email in the browser, from any mailbox with IMAP.
category: Communication
description: >-
A full-featured webmail client for a mailbox you already have. Read, search
and file your mail in a clean interface, with folders, contacts, identities
and keyboard shortcuts. Sending needs your provider to accept mail on a port
other than 465 or 587, which Cottage blocks.
upstream: https://github.com/roundcube/roundcubemail
website: https://roundcube.net
license: GPL-3.0-or-later
images:
- ref: roundcube/roundcubemail:1.7.6-apache-nonroot
digest: sha256:9e5c13055511b390688006533619f5709f11396b4598f90badcdc2b1be4a2a02
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="#37587A"/><rect x="12" y="18" width="40" height="28" rx="4" fill="none" stroke="#fff" stroke-width="4"/><path d="M14 21l18 14 18-14" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 334 B

+38
View File
@@ -0,0 +1,38 @@
# Roundcube: webmail for an existing mailbox, over IMAP. Upstream's non-root image,
# with SQLite for settings and contacts on one volume.
x-harbor:
slug: roundcube
name: Roundcube
description: Webmail client for your existing IMAP mailbox.
version: "1.7.6-c1"
primary: { service: app, port: 8000 }
health_path: /
default_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 5120 }
min_resources: { cpu_millis: 250, memory_mb: 128, storage_mb: 1024 }
volumes:
db: { uid: 33, gid: 33, mode: "0750" }
parameters:
- { key: DES_KEY, label: Session encryption key, type: string, secret: true, generate: random32 }
- { key: IMAP_HOST, label: IMAP server (ssl:// for port 993), type: string, default: "ssl://imap.example.com", editable: true }
- { key: IMAP_PORT, label: IMAP port, type: string, default: "993", editable: true }
# Ports 465 and 587 are blocked on Cottage, so sending works only if the mail
# provider also accepts submission on another port (some offer 2525).
- { key: SMTP_HOST, label: SMTP server (tls:// for STARTTLS), type: string, default: "tls://smtp.example.com", editable: true }
- { key: SMTP_PORT, label: SMTP port, type: string, default: "587", editable: true }
services:
app:
image: roundcube/roundcubemail:1.7.6-apache-nonroot
user: "33:33"
environment:
ROUNDCUBEMAIL_DES_KEY: ${DES_KEY}
ROUNDCUBEMAIL_DEFAULT_HOST: ${IMAP_HOST}
ROUNDCUBEMAIL_DEFAULT_PORT: ${IMAP_PORT}
ROUNDCUBEMAIL_SMTP_SERVER: ${SMTP_HOST}
ROUNDCUBEMAIL_SMTP_PORT: ${SMTP_PORT}
ROUNDCUBEMAIL_DB_TYPE: sqlite
ROUNDCUBEMAIL_PLUGINS: archive,zipdownload,markasjunk,newmail_notifier
volumes: [ "db:/var/roundcube/db" ]
volumes:
db:
+15
View File
@@ -0,0 +1,15 @@
## First login
Sign in as `admin` with the **Admin password** from the app's Overview tab. You can change it under **Settings → Account** once you're in. Cottage only uses that password when the app first starts, to create the account.
The Lounge runs in private mode: only people with an account can sign in, and each account keeps its own networks and history.
## Join a network
Choose **Connect to a network** (the plus button), and fill in the server, for example `irc.libera.chat` on port `6697` with TLS on. Pick a nickname, list the channels to join, and choose **Connect**. The Lounge stays connected while you're away, so the history is waiting when you come back.
Under **Settings**, turn on browser notifications for highlights and private messages. On a phone, add the app to your home screen from the browser menu.
## Export your data
The Lounge keeps your networks and settings in its own files, and channel logs as text files if logging is on. Cottage keeps nightly backups of the whole app, and can give you a copy of those files.
+14
View File
@@ -0,0 +1,14 @@
name: The Lounge
tagline: Stay on IRC from any browser, even while your laptop sleeps.
category: Communication
description: >-
A modern web client for IRC that keeps you connected around the clock, so
you never miss a message. Join several networks at once, scroll back through
history, get push notifications, and pick up the conversation from any device.
upstream: https://github.com/thelounge/thelounge
website: https://thelounge.chat
license: MIT
images:
- ref: ghcr.io/thelounge/thelounge:4.5.2
digest: sha256:5c3776545c24c8e04ce9520d8aab7320209043aad246ac710dc3339bfda4c772
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="#2E5266"/><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"/><path d="M27 21l-2 14M36 21l-2 14M22 25h16M21 31h16" stroke="#fff" stroke-width="3" stroke-linecap="round"/></svg>

After

Width:  |  Height:  |  Size: 390 B

+34
View File
@@ -0,0 +1,34 @@
# The Lounge: a web IRC client that stays connected while you're away. One container, one volume.
x-harbor:
slug: thelounge
name: The Lounge
description: Always-connected web IRC client.
version: "4.5.2-c1"
primary: { service: app, port: 9000 }
health_path: /
default_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 5120 }
min_resources: { cpu_millis: 100, memory_mb: 128, storage_mb: 1024 }
volumes:
data: { uid: 1000, gid: 1000, mode: "0700" }
parameters:
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 }
services:
app:
image: ghcr.io/thelounge/thelounge:4.5.2
user: "1000:1000"
# The Lounge runs in private mode, where accounts are only made from the command
# line. Add the `admin` account on first start (skipped once it exists), then serve.
# reverseProxy makes it trust Cottage's proxy for client addresses.
entrypoint: [ "/bin/sh", "-c" ]
command:
- |
mkdir -p "$$THELOUNGE_HOME/users"
[ -f "$$THELOUNGE_HOME/users/admin.json" ] || thelounge add admin --password "$$ADMIN_PASSWORD" --save-logs
exec thelounge -c reverseProxy=true start
environment:
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
volumes: [ "data:/var/opt/thelounge" ]
volumes:
data: