diff --git a/.env.example b/.env.example index 7c296f2ff..0a9384dee 100644 --- a/.env.example +++ b/.env.example @@ -101,6 +101,13 @@ ALLOWED_ORIGINS= # `Authorization: Bearer `. # 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/. +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 acb0df47d..3c5dbd99f 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: