Add Listmonk, Fider, Rallly and Notifuse (#41)
The apps held back until Cottage could send mail. Each sends through the owner's own provider; Fider, Rallly and Notifuse require a mail server because they sign people in only by email.
This commit is contained in:
1 parent
6a4a96e7ed
commit
a227920f4a
22 files changed
+525
-13
No files matched your search
@@ -0,0 +1,13 @@
|
||||
## First login
|
||||
|
||||
Fider signs everyone in with a link or code sent by email, you included, through the mail provider you gave when you added it. Then, while Cottage keeps the app private to you, open it and fill in the sign-up page with your name, your email and the board's name. Choose **Confirm** and open the link Fider emails you; that makes you the administrator.
|
||||
|
||||
Once you're in, choose **Open it to everyone** on the app's page in Cottage so your customers can reach the board.
|
||||
|
||||
## Get started
|
||||
|
||||
Open your avatar menu and choose **Site Settings**. Under **General**, add a **Welcome Message** and **Your Logo**, then post a first idea yourself so the board isn't empty when customers arrive. Share the board's address wherever your customers already are: your website, help pages or newsletter.
|
||||
|
||||
## Add people
|
||||
|
||||
Anyone can sign up with their email to post and vote. To invite people directly, go to **Site Settings → Invitations** and send them an email. To let a teammate manage the board, find them under **Users** once they've signed in and make them a **Collaborator** or **Administrator**. To keep the board to invited people only, turn on **Private Board** under **Privacy**.
|
||||
@@ -0,0 +1,21 @@
|
||||
name: Fider
|
||||
tagline: A feedback board where customers suggest ideas and vote on them.
|
||||
category: Customer support
|
||||
description: >-
|
||||
Give your customers one place to share ideas and requests. They post
|
||||
suggestions, vote and comment, and you see what matters most to them. Mark
|
||||
ideas as planned, started or completed so everyone can follow along, and
|
||||
merge duplicates. People sign in with a code sent by email, so mail needs to
|
||||
be set up from the start.
|
||||
upstream: https://github.com/getfider/fider
|
||||
website: https://fider.io
|
||||
license: AGPL-3.0-only
|
||||
replaces: [Canny, UserVoice]
|
||||
images:
|
||||
- ref: getfider/fider:v0.40.0
|
||||
digest: sha256:9b4a043595ad96e3064f8091d2734dbc4f0113fe0e1a908a778e9c4fa96971f7
|
||||
- ref: postgres:18.7-alpine
|
||||
digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
|
||||
mobile_apps: false
|
||||
# Fider's sign-up page creates the site and its first admin, confirmed by an emailed link.
|
||||
first_visit_claims_admin: true
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#5B4FC4"/><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="M24 31l8-8 8 8" fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
|
After Width: | Height: | Size: 399 B |
@@ -0,0 +1,62 @@
|
||||
# Fider: a feedback board where customers suggest and vote on ideas, with PostgreSQL for storage.
|
||||
x-harbor:
|
||||
slug: fider
|
||||
name: Fider
|
||||
description: Collect and prioritize feedback from your customers.
|
||||
version: "0.40.0-c1"
|
||||
primary: { service: app, port: 3000 }
|
||||
health_path: /_health
|
||||
default_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 5120 }
|
||||
min_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 1024 }
|
||||
weights: { app: 2, db: 2 }
|
||||
volumes:
|
||||
db_data: { uid: 70, gid: 70, mode: "0700" }
|
||||
parameters:
|
||||
- { key: JWT_SECRET, label: Session signing secret, type: string, secret: true, generate: random32 }
|
||||
- { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 }
|
||||
- { key: SMTP_HOST, label: SMTP server, type: string, editable: true, required: true, group: email, hint: "Your mail provider's SMTP server, e.g. smtp.fastmail.com. Fider signs everyone in by email, so it needs one." }
|
||||
- { key: SMTP_PORT, label: SMTP port, type: int, default: "587", editable: true, group: email, hint: "587 for STARTTLS, 465 for TLS." }
|
||||
- { key: SMTP_USER, label: SMTP username, type: string, editable: true, group: email }
|
||||
- { key: SMTP_PASSWORD, label: SMTP password, type: string, secret: true, editable: true, group: email }
|
||||
- { key: SMTP_FROM, label: Send as, type: string, editable: true, group: email, hint: "The From address, e.g. [email protected]. Your provider must allow it." }
|
||||
- { key: SMTP_SECURITY, label: Connection security, type: choice, choices: [starttls, tls, none], default: starttls, editable: true, group: email }
|
||||
|
||||
services:
|
||||
app:
|
||||
image: getfider/fider:v0.40.0
|
||||
# The image runs as root by default; Fider needs no writable files of its own
|
||||
# (uploaded images are kept in PostgreSQL), so any unprivileged user works.
|
||||
user: "1000:1000"
|
||||
depends_on:
|
||||
db: { condition: service_healthy }
|
||||
environment:
|
||||
BASE_URL: ${HARBOR_PUBLIC_URL}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
DATABASE_URL: postgres://fider:${DB_PASSWORD}@db:5432/fider?sslmode=disable
|
||||
BLOB_STORAGE: sql
|
||||
# Sign-in is by emailed link, so mail is how everyone gets in. Fider refuses to
|
||||
# start without an SMTP server, so an unreachable placeholder stands in while
|
||||
# SMTP_HOST is empty: the app runs, and mail fails until the owner adds theirs.
|
||||
EMAIL: smtp
|
||||
EMAIL_SMTP_HOST: ${SMTP_HOST:-mail-not-set-up.invalid}
|
||||
EMAIL_SMTP_PORT: ${SMTP_PORT}
|
||||
EMAIL_SMTP_USERNAME: ${SMTP_USER}
|
||||
EMAIL_SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||
EMAIL_SMTP_ENABLE_STARTTLS: ${SMTP_SECURITY_IS_STARTTLS:-false}
|
||||
EMAIL_SMTP_ENABLE_IMPLICIT_TLS: ${SMTP_SECURITY_IS_TLS:-false}
|
||||
EMAIL_NOREPLY: ${SMTP_FROM:-${SMTP_USER:-noreply@${HARBOR_HOSTNAME}}}
|
||||
db:
|
||||
image: postgres:18.7-alpine
|
||||
user: "70:70"
|
||||
environment:
|
||||
POSTGRES_USER: fider
|
||||
POSTGRES_DB: fider
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
volumes: [ "db_data:/var/lib/postgresql" ]
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-U", "fider", "-d", "fider" ]
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
@@ -0,0 +1,15 @@
|
||||
## First login
|
||||
|
||||
Open the app, choose **Login**, and sign in with the **Admin username** and **Admin password** from **Sign-in details** on the app's page in Cottage. Cottage also signs in with this account to pass your mail settings to Listmonk, so keep the password as it is. If you change it, set mail up under **Settings → SMTP** in Listmonk instead.
|
||||
|
||||
## Get started
|
||||
|
||||
Fill in your mail provider in **App settings** on the app's page in Cottage. It must allow bulk sending, since a newsletter goes to many people at once. Then write a first issue under **Campaigns → Create new** and use **Send test message** to send it to yourself.
|
||||
|
||||
## Bring your data
|
||||
|
||||
Listmonk starts with two example subscribers; delete them under **Subscribers**. Then open **Subscribers → Import**, upload a CSV file exported from your old newsletter service, pick the lists to add people to, and mark them **Confirmed** if they've already opted in.
|
||||
|
||||
## Add people
|
||||
|
||||
Open **Users → User roles** and create a role with the permissions to give. Then go to **Users → Users**, choose **New user**, pick that role, turn on **Enable password login**, and set a password to pass on privately.
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Listmonk
|
||||
tagline: Send newsletters to your own mailing lists, through your own mail provider.
|
||||
category: Communication
|
||||
description: >-
|
||||
Keep your subscriber lists, write campaigns in a rich-text, Markdown or HTML
|
||||
editor, and send them through your mail provider. Signup forms, double
|
||||
opt-in, unsubscribe links and a public archive of past issues are built in,
|
||||
with open and click counts if you want them.
|
||||
upstream: https://github.com/knadh/listmonk/tree/v6.2.0
|
||||
website: https://listmonk.app
|
||||
license: AGPL-3.0-only
|
||||
replaces: [Mailchimp, MailerLite]
|
||||
images:
|
||||
- ref: listmonk/listmonk:v6.2.0
|
||||
digest: sha256:f535d59e14991337a9f2d570273685378ae86b0d7698c3e00da444e3bc205286
|
||||
- ref: postgres:18.7-alpine
|
||||
digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
|
||||
mobile_apps: false
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#fff"/><svg x="12" y="12" width="40" height="40" viewBox="0 0 8.038 8.038"><circle cx="4.019" cy="4.019" r="3.149" fill="none" stroke="#0055d4" stroke-width="1.74"/></svg></svg>
|
||||
|
After Width: | Height: | Size: 281 B |
@@ -0,0 +1,117 @@
|
||||
# Listmonk: newsletters and mailing lists, with PostgreSQL for storage.
|
||||
x-harbor:
|
||||
slug: listmonk
|
||||
name: Listmonk
|
||||
description: Newsletters and mailing lists.
|
||||
version: "6.2.0-c1"
|
||||
primary: { service: app, port: 9000 }
|
||||
health_path: /admin/login
|
||||
default_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 5120 }
|
||||
min_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 1024 }
|
||||
weights: { app: 1, db: 1 }
|
||||
volumes:
|
||||
uploads: { uid: 1000, gid: 1000, mode: "0750" }
|
||||
db_data: { uid: 70, gid: 70, mode: "0700" }
|
||||
parameters:
|
||||
- { key: ADMIN_USERNAME, label: Admin username, type: string, default: admin }
|
||||
- { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random32 }
|
||||
- { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 }
|
||||
- { key: SMTP_HOST, label: SMTP server, type: string, editable: true, group: email, hint: "Your mail provider's SMTP server, e.g. smtp.fastmail.com. It must allow bulk sending. Leave empty to set mail up in Listmonk instead." }
|
||||
- { key: SMTP_PORT, label: SMTP port, type: int, default: "587", editable: true, group: email, hint: "587 for STARTTLS, 465 for TLS." }
|
||||
- { key: SMTP_USER, label: SMTP username, type: string, editable: true, group: email }
|
||||
- { key: SMTP_PASSWORD, label: SMTP password, type: string, secret: true, editable: true, group: email }
|
||||
- { key: SMTP_FROM, label: Send as, type: string, editable: true, group: email, hint: "The From address for newsletters, e.g. [email protected]. Your provider must allow it." }
|
||||
- { key: SMTP_SECURITY, label: Connection security, type: choice, choices: [starttls, tls, none], default: starttls, editable: true, group: email }
|
||||
|
||||
services:
|
||||
app:
|
||||
image: listmonk/listmonk:v6.2.0
|
||||
user: "1000:1000"
|
||||
depends_on:
|
||||
db: { condition: service_healthy }
|
||||
entrypoint: [ "/bin/sh", "-c" ]
|
||||
command:
|
||||
- |
|
||||
set -e
|
||||
# Create the tables and the admin on the first start; apply upgrades on later ones.
|
||||
./listmonk --install --idempotent --yes --config ''
|
||||
./listmonk --upgrade --yes --config ''
|
||||
|
||||
# Listmonk keeps its public address and SMTP servers in the database, not in its
|
||||
# config. Before the real start, a private copy (127.0.0.1:9001, sending nothing)
|
||||
# signs in as the admin and saves Cottage's values through Listmonk's settings API.
|
||||
LISTMONK_app__address=127.0.0.1:9001 ./listmonk --config '' --passive >/dev/null 2>&1 &
|
||||
pid=$$!
|
||||
http() { # METHOD PATH CONTENT-TYPE BODY: send one request, print the raw response
|
||||
cookie=""; [ -z "$$session" ] || cookie="Cookie: session=$$session\r\n"
|
||||
printf '%s %s HTTP/1.0\r\nHost: 127.0.0.1\r\nContent-Type: %s\r\nContent-Length: %s\r\n%b\r\n%s' \
|
||||
"$$1" "$$2" "$$3" "$$(printf %s "$$4" | wc -c)" "$$cookie" "$$4" | nc -w 10 127.0.0.1 9001 2>/dev/null || true
|
||||
}
|
||||
ready() { wget -q -O /dev/null http://127.0.0.1:9001/admin/login 2>/dev/null; }
|
||||
js() { printf '"%s"' "$$(printf %s "$$1" | sed 's/\\/\\\\/g; s/"/\\"/g')"; }
|
||||
put() { # KEY JSON: each save makes the copy reload, so retry until one answers 200
|
||||
for _ in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15; do
|
||||
if ready && http PUT "/api/settings/$$1" application/json "$$2" | head -n 1 | grep -q ' 200 '; then return 0; fi
|
||||
sleep 1
|
||||
done
|
||||
echo "cottage: couldn't save Listmonk's $$1 setting"
|
||||
}
|
||||
session=""
|
||||
for _ in $$(seq 60); do ready && break; sleep 1; done
|
||||
session=$$(http POST /admin/login application/x-www-form-urlencoded \
|
||||
"username=$$LISTMONK_ADMIN_USER&password=$$LISTMONK_ADMIN_PASSWORD" \
|
||||
| tr -d '\r' | sed -n 's/^[Ss]et-[Cc]ookie: session=\([^;]*\).*/\1/p' | head -n 1)
|
||||
if [ -n "$$session" ]; then
|
||||
put app.root_url "$$(js "$$HARBOR_PUBLIC_URL")"
|
||||
if [ -n "$$SMTP_HOST" ]; then
|
||||
case "$$SMTP_SECURITY" in tls) tls=TLS ;; none) tls=none ;; *) tls=STARTTLS ;; esac
|
||||
auth=login; [ -n "$$SMTP_USER" ] || auth=none
|
||||
put smtp "[{\"name\":\"\",\"uuid\":\"2ab9cd30-f182-4e49-a768-90d4d9003371\",\"enabled\":true,\"host\":$$(js "$$SMTP_HOST"),\"port\":$${SMTP_PORT:-587},\"auth_protocol\":\"$$auth\",\"username\":$$(js "$$SMTP_USER"),\"password\":$$(js "$$SMTP_PASSWORD"),\"hello_hostname\":$$(js "$$HARBOR_HOSTNAME"),\"max_conns\":10,\"idle_timeout\":\"15s\",\"wait_timeout\":\"5s\",\"max_msg_retries\":2,\"msg_retry_delay\":\"10ms\",\"tls_type\":\"$$tls\",\"tls_skip_verify\":false,\"email_headers\":[],\"from_addresses\":[]}]"
|
||||
from=$${SMTP_FROM:-$$SMTP_USER}
|
||||
[ -z "$$from" ] || put app.from_email "$$(js "$$from")"
|
||||
fi
|
||||
else
|
||||
echo "cottage: couldn't sign in as $$LISTMONK_ADMIN_USER, so Listmonk's address and mail settings were left as they are"
|
||||
fi
|
||||
kill $$pid 2>/dev/null || true
|
||||
wait $$pid 2>/dev/null || true
|
||||
exec ./listmonk --config ''
|
||||
environment:
|
||||
LISTMONK_app__address: 0.0.0.0:9000
|
||||
LISTMONK_db__host: db
|
||||
LISTMONK_db__port: "5432"
|
||||
LISTMONK_db__user: listmonk
|
||||
LISTMONK_db__password: ${DB_PASSWORD}
|
||||
LISTMONK_db__database: listmonk
|
||||
LISTMONK_db__ssl_mode: disable
|
||||
# Creates the admin on the first start only; later starts leave the account alone.
|
||||
LISTMONK_ADMIN_USER: ${ADMIN_USERNAME}
|
||||
LISTMONK_ADMIN_PASSWORD: ${ADMIN_PASSWORD}
|
||||
HARBOR_PUBLIC_URL: ${HARBOR_PUBLIC_URL}
|
||||
HARBOR_HOSTNAME: ${HARBOR_HOSTNAME}
|
||||
# Mail through the owner's provider. With SMTP_HOST empty, Listmonk's own
|
||||
# Settings → SMTP page is left alone.
|
||||
SMTP_HOST: ${SMTP_HOST}
|
||||
SMTP_PORT: ${SMTP_PORT}
|
||||
SMTP_USER: ${SMTP_USER}
|
||||
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||
SMTP_FROM: ${SMTP_FROM}
|
||||
SMTP_SECURITY: ${SMTP_SECURITY}
|
||||
# Images and files uploaded in the media library (Listmonk's default upload path).
|
||||
volumes: [ "uploads:/listmonk/uploads" ]
|
||||
db:
|
||||
image: postgres:18.7-alpine
|
||||
user: "70:70"
|
||||
environment:
|
||||
POSTGRES_USER: listmonk
|
||||
POSTGRES_DB: listmonk
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
volumes: [ "db_data:/var/lib/postgresql" ]
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-U", "listmonk", "-d", "listmonk" ]
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
uploads:
|
||||
db_data:
|
||||
@@ -0,0 +1,17 @@
|
||||
## First login
|
||||
|
||||
Notifuse signs you in with a code sent by email, through the mail provider you gave when you added it. While Cottage keeps the app private to you, open it and put your own address under **Root email** on the setup page; your mail details are already filled in. Choose **Complete setup**.
|
||||
|
||||
Then enter your address, choose **Send Magic Code**, and type the code from your inbox. Once you're in, choose **Open it to everyone** on the app's page in Cottage.
|
||||
|
||||
## Get started
|
||||
|
||||
Choose **New workspace** and give it a name and your website. In the workspace, open **Settings → Integrations**, choose **Add integration**, and connect the service that will send your campaigns, such as Amazon SES, Postmark or any SMTP server. Set it as the provider for **Marketing emails**, then for **Transactional emails** if your app sends mail through Notifuse.
|
||||
|
||||
## Bring your data
|
||||
|
||||
Export your contacts from your old service as a CSV file. In **Contacts**, choose **Import**, pick the file, match its columns to Notifuse's fields, and choose a list to import them into.
|
||||
|
||||
## Add people
|
||||
|
||||
In the workspace, open **Settings → Team & API keys** and choose **Invite member**. Notifuse emails them an invitation. Invite people with full access: custom permissions per person need a paid Notifuse licence.
|
||||
@@ -0,0 +1,21 @@
|
||||
name: Notifuse
|
||||
tagline: Newsletters, campaigns and transactional email, sent through your own provider.
|
||||
category: Business
|
||||
description: >-
|
||||
Email marketing for your own lists. Keep contacts and segments, design emails
|
||||
in a drag-and-drop editor, send broadcasts and A/B tests, build automations,
|
||||
and send receipts or password resets from your app through its API. Mail goes
|
||||
out through a provider you choose, such as Amazon SES, Postmark, Mailgun or
|
||||
any SMTP server.
|
||||
upstream: https://github.com/Notifuse/notifuse
|
||||
website: https://www.notifuse.com
|
||||
license: BUSL-1.1
|
||||
replaces: [Mailchimp, Brevo]
|
||||
images:
|
||||
- ref: notifuse/notifuse:v44.0
|
||||
digest: sha256:59cd76e234870bc4bb5dc1261089988a653be845f1eefe3548cf9d2be233fef4
|
||||
- ref: postgres:18.7-alpine
|
||||
digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
|
||||
mobile_apps: false
|
||||
# The setup page is open to whoever reaches it first and names the root user.
|
||||
first_visit_claims_admin: true
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#2E5E8C"/><rect x="12" y="19" width="34" height="26" rx="3" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><path d="M13 21l16 13 16-13" fill="none" stroke="#fff" stroke-width="4" stroke-linejoin="round"/><path d="M50 26h4M50 32h6M50 38h4" stroke="#fff" stroke-width="3" stroke-linecap="round"/></svg>
|
||||
|
After Width: | Height: | Size: 425 B |
@@ -0,0 +1,69 @@
|
||||
# Notifuse: newsletters, broadcasts, automations and transactional email, with PostgreSQL for storage.
|
||||
x-harbor:
|
||||
slug: notifuse
|
||||
name: Notifuse
|
||||
description: Email marketing and transactional email, sent through your own provider.
|
||||
version: "44.0-c1"
|
||||
primary: { service: app, port: 8080 }
|
||||
health_path: /healthz
|
||||
default_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 5120 }
|
||||
min_resources: { cpu_millis: 250, memory_mb: 512, storage_mb: 1024 }
|
||||
weights: { app: 2, db: 2 }
|
||||
volumes:
|
||||
db_data: { uid: 70, gid: 70, mode: "0700" }
|
||||
parameters:
|
||||
- { key: SECRET_KEY, label: Encryption and signing key, type: string, secret: true, generate: hex32 }
|
||||
- { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 }
|
||||
- { key: SMTP_HOST, label: SMTP server, type: string, editable: true, required: true, group: email, hint: "Your mail provider's SMTP server, e.g. smtp.fastmail.com. Notifuse signs everyone in by email, so it needs one." }
|
||||
- { key: SMTP_PORT, label: SMTP port, type: int, default: "587", editable: true, group: email, hint: "587 for STARTTLS, 465 for TLS." }
|
||||
- { key: SMTP_USER, label: SMTP username, type: string, editable: true, group: email }
|
||||
- { key: SMTP_PASSWORD, label: SMTP password, type: string, secret: true, editable: true, group: email }
|
||||
- { key: SMTP_FROM, label: Send as, type: string, editable: true, group: email, hint: "The address sign-in codes and invitations come from. Your provider must allow it." }
|
||||
- { key: SMTP_SECURITY, label: Connection security, type: choice, choices: [starttls, tls, none], default: starttls, editable: true, group: email }
|
||||
|
||||
services:
|
||||
app:
|
||||
image: notifuse/notifuse:v44.0
|
||||
user: "1000:1000"
|
||||
depends_on:
|
||||
db: { condition: service_healthy }
|
||||
environment:
|
||||
SERVER_PORT: "8080"
|
||||
ENVIRONMENT: production
|
||||
API_ENDPOINT: ${HARBOR_PUBLIC_URL}
|
||||
SECRET_KEY: ${SECRET_KEY}
|
||||
DB_HOST: db
|
||||
DB_PORT: "5432"
|
||||
DB_USER: notifuse
|
||||
DB_PASSWORD: ${DB_PASSWORD}
|
||||
DB_NAME: notifuse_system
|
||||
DB_PREFIX: notifuse
|
||||
DB_SSLMODE: disable
|
||||
# Cottage updates the app, and the receiving SMTP bridge needs a port Cottage doesn't open.
|
||||
TELEMETRY: "false"
|
||||
CHECK_FOR_UPDATES: "false"
|
||||
SMTP_BRIDGE_ENABLED: "false"
|
||||
# The system mailer, for sign-in codes and invitations. A variable that is set locks
|
||||
# that field on Notifuse's setup page; one left empty is asked for there instead.
|
||||
# Notifuse uses implicit TLS on port 465 and STARTTLS on other ports when TLS is on.
|
||||
SMTP_HOST: ${SMTP_HOST}
|
||||
SMTP_PORT: ${SMTP_HOST:+${SMTP_PORT}}
|
||||
SMTP_USERNAME: ${SMTP_USER}
|
||||
SMTP_PASSWORD: ${SMTP_PASSWORD}
|
||||
SMTP_FROM_EMAIL: ${SMTP_FROM:-${SMTP_USER}}
|
||||
SMTP_USE_TLS: ${SMTP_SECURITY_IS_NONE:+false}
|
||||
db:
|
||||
image: postgres:18.7-alpine
|
||||
user: "70:70"
|
||||
environment:
|
||||
POSTGRES_USER: notifuse
|
||||
POSTGRES_DB: notifuse_system
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
volumes: [ "db_data:/var/lib/postgresql" ]
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-U", "notifuse", "-d", "notifuse_system" ]
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
@@ -0,0 +1,17 @@
|
||||
## First login
|
||||
|
||||
Rallly signs you in with a code sent by email, through the mail provider you gave when you added it.
|
||||
|
||||
Open the app, choose **Continue with email** and enter the address you gave as **Your email address**. Type in the code from your inbox, then add your name.
|
||||
|
||||
To become the admin, go to `/control-panel` on your app's address and choose **Make me an admin**.
|
||||
|
||||
## Get started
|
||||
|
||||
Choose **Create poll**, give it a title, pick a few dates or times and choose **Create poll** again. Copy the link and send it to everyone: they vote without making an account. When it's clear which time suits most people, choose **Finalize**.
|
||||
|
||||
## Add people
|
||||
|
||||
Only you can make an account at first. To let someone else make their own, add their address to **Others who can make an account** under **App settings** on the app's page in Cottage, and ask them to sign in with **Continue with email**.
|
||||
|
||||
Rallly is free for one account. For more, its makers ask you to buy a licence key at rallly.co and enter it under **Control Panel → License**.
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Rallly
|
||||
tagline: Find a time that works for everyone, without the back-and-forth.
|
||||
category: Productivity
|
||||
description: >-
|
||||
Scheduling polls for meetings, clubs and get-togethers. Suggest a few dates
|
||||
and times, share one link, and people mark yes, if need be or no without
|
||||
making an account. Rallly shows the time that suits most people, then sends
|
||||
the final details and a calendar invite to everyone who left an address.
|
||||
upstream: https://github.com/lukevella/rallly
|
||||
website: https://rallly.co
|
||||
license: AGPL-3.0-or-later
|
||||
replaces: [Doodle]
|
||||
images:
|
||||
- ref: lukevella/rallly:4.17.2
|
||||
digest: sha256:e43d8f750728ba500f512c4f3ae2c26d66c2666e68447659825a8ed2618f7ced
|
||||
- ref: postgres:18.7-alpine
|
||||
digest: sha256:0115267ab5a509022df9319c77be365cef335adb71556c75f60f5360ee247e71
|
||||
mobile_apps: false
|
||||
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#6366F1"/><svg x="15" y="15" width="34" height="34" viewBox="7 7 16 16"><path d="M11.4201 15.7973C11.2842 15.9332 11.2843 16.1536 11.4203 16.2894L13.9147 18.7792C14.0506 18.9148 14.2707 18.9147 14.4064 18.779L18.9829 14.2025C19.1188 14.0667 19.1188 13.8464 18.9829 13.7106L18.491 13.2187C18.3552 13.0828 18.135 13.0828 17.9992 13.2187L14.1579 17.0599L12.4037 15.3056C12.2678 15.1698 12.0476 15.1698 11.9118 15.3056L11.4201 15.7973Z" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 8.3913C7 7.62291 7.62292 7 8.3913 7H21.6087C22.3771 7 23 7.62291 23 8.3913V21.6087C23 22.3771 22.3771 23 21.6087 23H8.3913C7.62292 23 7 22.3771 7 21.6087V8.3913ZM8.45453 10.6364H21.5455V21.5455H8.45453V10.6364ZM18.8261 9.78261C19.2103 9.78261 19.5217 9.47116 19.5217 9.08696C19.5217 8.70275 19.2103 8.3913 18.8261 8.3913C18.4419 8.3913 18.1304 8.70275 18.1304 9.08696C18.1304 9.47116 18.4419 9.78261 18.8261 9.78261ZM11.1739 9.08696C11.1739 9.47116 10.8625 9.78261 10.4783 9.78261C10.094 9.78261 9.78261 9.47116 9.78261 9.08696C9.78261 8.70275 10.094 8.3913 10.4783 8.3913C10.8625 8.3913 11.1739 8.70275 11.1739 9.08696Z" fill="white"/></svg></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,80 @@
|
||||
# Rallly: group scheduling polls, where people vote on the times that suit them, with PostgreSQL for storage.
|
||||
x-harbor:
|
||||
slug: rallly
|
||||
name: Rallly
|
||||
description: Find a time that works for everyone with a scheduling poll.
|
||||
version: "4.17.2-c1"
|
||||
primary: { service: app, port: 3000 }
|
||||
health_path: /api/status
|
||||
default_resources: { cpu_millis: 500, memory_mb: 768, storage_mb: 2048 }
|
||||
min_resources: { cpu_millis: 250, memory_mb: 512, storage_mb: 1024 }
|
||||
weights: { app: 3, db: 1 }
|
||||
volumes:
|
||||
db_data: { uid: 70, gid: 70, mode: "0700" }
|
||||
parameters:
|
||||
- { key: SECRET_PASSWORD, label: Session encryption key, type: string, secret: true, generate: hex32 }
|
||||
- { key: DB_PASSWORD, label: Database password, type: string, secret: true, generate: random32 }
|
||||
- { key: ADMIN_EMAIL, label: Your email address, type: string, required: true, editable: true, hint: "Rallly signs you in with a code sent here, and this address becomes its admin." }
|
||||
- { key: ALLOWED_EMAILS, label: Others who can make an account, type: string, editable: true, hint: "Addresses separated by commas. *@example.com allows a whole domain. People voting on a poll never need an account." }
|
||||
- { key: SMTP_HOST, label: SMTP server, type: string, editable: true, required: true, group: email, hint: "Your mail provider's SMTP server, e.g. smtp.fastmail.com. Rallly signs everyone in by email, so it needs one." }
|
||||
- { key: SMTP_PORT, label: SMTP port, type: int, default: "587", editable: true, group: email, hint: "587 for STARTTLS, 465 for TLS." }
|
||||
- { key: SMTP_USER, label: SMTP username, type: string, editable: true, group: email }
|
||||
- { key: SMTP_PASSWORD, label: SMTP password, type: string, secret: true, editable: true, group: email }
|
||||
- { key: SMTP_FROM, label: Send as, type: string, editable: true, group: email, hint: "The From address, e.g. [email protected]. Your provider must allow it." }
|
||||
- { key: SMTP_SECURITY, label: Connection security, type: choice, choices: [starttls, tls, none], default: starttls, editable: true, group: email }
|
||||
|
||||
services:
|
||||
app:
|
||||
image: lukevella/rallly:4.17.2
|
||||
# The image's own nextjs user. Rallly keeps everything in PostgreSQL; without S3
|
||||
# storage, profile pictures and logo uploads are simply turned off.
|
||||
user: "100:101"
|
||||
depends_on:
|
||||
db: { condition: service_healthy }
|
||||
# Rallly refuses to start if NOREPLY_EMAIL isn't a plain email address, or if only
|
||||
# one of SMTP_USER and SMTP_PWD is set. Set them only when they make sense, so a
|
||||
# slip in the mail settings stops mail rather than the app. Without a usable
|
||||
# sender, Rallly sends as SUPPORT_EMAIL.
|
||||
entrypoint:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
is_address() { case "$$1" in *[!A-Za-z0-9._+@-]* | *@*@*) return 1 ;; ?*@?*.?*) return 0 ;; esac; return 1; }
|
||||
if is_address "$$COTTAGE_SMTP_FROM"; then export NOREPLY_EMAIL="$$COTTAGE_SMTP_FROM"
|
||||
elif is_address "$$SMTP_USER"; then export NOREPLY_EMAIL="$$SMTP_USER"; fi
|
||||
if [ -z "$$SMTP_USER" ] || [ -z "$$SMTP_PWD" ]; then unset SMTP_USER SMTP_PWD; fi
|
||||
exec ./docker-start.sh
|
||||
environment:
|
||||
DATABASE_URL: postgres://rallly:${DB_PASSWORD}@db:5432/rallly
|
||||
NEXT_PUBLIC_BASE_URL: ${HARBOR_PUBLIC_URL}
|
||||
SECRET_PASSWORD: ${SECRET_PASSWORD}
|
||||
# Only the owner, and anyone they add, can make an account; Cottage always asks
|
||||
# for ADMIN_EMAIL. example.com can't receive mail, so the fallback only keeps the
|
||||
# app starting, and closed, if it were ever empty. Guests vote without accounts.
|
||||
ALLOWED_EMAILS: ${ADMIN_EMAIL:[email protected]},${ALLOWED_EMAILS}
|
||||
INITIAL_ADMIN_EMAIL: ${ADMIN_EMAIL}
|
||||
SUPPORT_EMAIL: ${ADMIN_EMAIL:[email protected]}
|
||||
# Mail through the owner's provider. With no SMTP server, sign-in codes can't be
|
||||
# sent, but the app runs and guests can still vote.
|
||||
SMTP_HOST: ${SMTP_HOST}
|
||||
SMTP_PORT: ${SMTP_PORT}
|
||||
SMTP_USER: ${SMTP_USER}
|
||||
SMTP_PWD: ${SMTP_PASSWORD}
|
||||
SMTP_SECURE: ${SMTP_SECURITY_IS_TLS:-false}
|
||||
SMTP_REJECT_UNAUTHORIZED: "true"
|
||||
COTTAGE_SMTP_FROM: ${SMTP_FROM}
|
||||
db:
|
||||
image: postgres:18.7-alpine
|
||||
user: "70:70"
|
||||
environment:
|
||||
POSTGRES_USER: rallly
|
||||
POSTGRES_DB: rallly
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
volumes: [ "db_data:/var/lib/postgresql" ]
|
||||
healthcheck:
|
||||
test: [ "CMD", "pg_isready", "-U", "rallly", "-d", "rallly" ]
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
Reference in new issue
Block a user