The personal finance app for everyone (by everyone)
Ruby
docs: explain self-hosted onboarding modes (#2533)
Sure Admin (bot)9f253f21df41
diff --git a/docs/hosting/docker.md b/docs/hosting/docker.mdindex 575ef7db59..1b337d36c1 100644--- a/docs/hosting/docker.md+++ b/docs/hosting/docker.md@@ -180,6 +180,16 @@ The first time you run the app, you will need to register a new account by hitti1. Enter your email2. Enter a password+### Step 5a: Restrict future signups (optional)++After creating your initial admin account, you can control how other people join your self-hosted instance from **Settings > Self-Hosting > Onboarding**.++- **Open**: Anyone can create an account from the registration page.+- **Invite-only**: New account creation stays enabled, but signups require a valid invite code.+- **Closed**: The registration page is disabled for new signups.++If you do not want additional self-service registrations, switch the instance to **Closed** after the initial setup.+### Step 6: Run the app in the backgroundMost self-hosting users will want the Sure app to run in the background on their computer so they can access it at all times. To do this, hit `Ctrl+C` to stop the running process, and then run the following command:diff --git a/docs/hosting/hetzner.md b/docs/hosting/hetzner.mdindex b9693d6353..c75ab76e5e 100644--- a/docs/hosting/hetzner.md+++ b/docs/hosting/hetzner.md@@ -176,6 +176,16 @@ Now you can:2. **Create your admin account**: Click "Create your account" on the login page3. **Set up your first family**: Follow the onboarding process+### Optional: Disable self-service registration++Once your initial admin account is ready, open **Settings > Self-Hosting > Onboarding** to choose how signups should work:++- **Open**: Anyone can register.+- **Invite-only**: New signups require a valid invite code.+- **Closed**: New signups from the registration page are blocked.++For single-admin or tightly controlled deployments, set the onboarding mode to **Closed** after the initial setup.+## Step 7: Set Up Automated BackupsCreate a backup script to protect your data: