Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(github): plumb GITHUB_APP_SLUG / GITHUB_WEBHOOK_SECRET through self-host (#2482)

Bohan Jiangeca36fac8406
diff --git a/.env.example b/.env.example
index 7c296f2ffc..0a9384dee1 100644
--- a/.env.example
+++ b/.env.example
@@ -101,6 +101,13 @@ ALLOWED_ORIGINS=
# `Authorization: Bearer <token>`.
# REALTIME_METRICS_TOKEN=
+# GitHub App integration (Settings → Integrations "Connect GitHub")
+# Both must be set for the Connect button to enable and for webhooks to be
+# accepted; leave empty to disable the integration. See docs/github-integration.
+# GITHUB_APP_SLUG is the tail of https://github.com/apps/<slug>.
+GITHUB_APP_SLUG=
+GITHUB_WEBHOOK_SECRET=
+
# Frontend
FRONTEND_PORT=3000
FRONTEND_ORIGIN=http://localhost:3000
diff --git a/docker-compose.selfhost.yml b/docker-compose.selfhost.yml
index acb0df47d3..3c5dbd99f7 100644
--- a/docker-compose.selfhost.yml
+++ b/docker-compose.selfhost.yml
@@ -58,9 +58,11 @@ services:
APP_ENV: ${APP_ENV:-production}
MULTICA_DEV_VERIFICATION_CODE: ${MULTICA_DEV_VERIFICATION_CODE:-}
MULTICA_APP_URL: ${MULTICA_APP_URL:-http://localhost:3000}
- ALLOW_SIGNUP: ${ALLOW_SIGNUP:-true}
- ALLOWED_EMAILS: ${ALLOWED_EMAILS:-}
- ALLOWED_EMAIL_DOMAINS: ${ALLOWED_EMAIL_DOMAINS:-}
+ ALLOW_SIGNUP: ${ALLOW_SIGNUP:-true}
+ ALLOWED_EMAILS: ${ALLOWED_EMAILS:-}
+ ALLOWED_EMAIL_DOMAINS: ${ALLOWED_EMAIL_DOMAINS:-}
+ GITHUB_APP_SLUG: ${GITHUB_APP_SLUG:-}
+ GITHUB_WEBHOOK_SECRET: ${GITHUB_WEBHOOK_SECRET:-}
restart: unless-stopped
frontend: