Add onboarding state selector for self-hosted signup (#251)

* Add onboarding modes to self-hosted signup

* Style form consistently

* Configure ONBOARDING_STATE via ENV
This commit is contained in:
Juan José Mata
2025-10-27 21:52:37 +01:00
committed by GitHub
parent dcb674835c
commit 72e7d7736b
16 changed files with 121 additions and 23 deletions

View File

@@ -10,6 +10,9 @@
# Enables self hosting features (should be set to true unless you know what you're doing)
SELF_HOSTED=true
# Controls onboarding flow (valid: open, closed, invite_only)
ONBOARDING_STATE=open
# Secret key used to encrypt credentials (https://api.rubyonrails.org/v7.1.3.2/classes/Rails/Application.html#method-i-secret_key_base)
# Has to be a random string, generated eg. by running `openssl rand -hex 64`
SECRET_KEY_BASE=secret-value