mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-15 02:33:15 -06:00
Merge pull request #20 from screentinker/docs/surface-disable-registration
docs: surface DISABLE_REGISTRATION self-hosting flag (#11)
This commit is contained in:
commit
9aae64c47a
11
.env.example
11
.env.example
|
|
@ -11,6 +11,17 @@
|
|||
# instance never emits mail from a domain that isn't yours.
|
||||
SELF_HOSTED=true
|
||||
|
||||
# Close public self-service registration — for instances where all accounts are
|
||||
# provisioned by your team (admin "Add user" / invites). When true, the public
|
||||
# signup route is blocked (OAuth auto-signup with it) AND the login page hides
|
||||
# its "Create account" button so the UI matches the backend. First-user setup on
|
||||
# an empty DB is still allowed so a fresh install can be initialized.
|
||||
# DISABLE_REGISTRATION=true
|
||||
|
||||
# Redirect "/" to the app (/app) instead of serving the marketing landing page.
|
||||
# For internal-only deployments that don't want the public homepage shown.
|
||||
# DISABLE_HOMEPAGE=true
|
||||
|
||||
# Where new-signup admin notifications are sent. Leave UNSET to disable admin
|
||||
# notifications entirely — the user's welcome email is unaffected. Self-hosters
|
||||
# who want to be notified of signups set this to their own address.
|
||||
|
|
|
|||
|
|
@ -243,6 +243,13 @@ Restart=always
|
|||
Environment=PORT=3001
|
||||
Environment=NODE_ENV=production
|
||||
Environment=SELF_HOSTED=true
|
||||
# Lock down an internal / provisioned-only instance (all accounts created by your
|
||||
# team). DISABLE_REGISTRATION closes self-service signup — first-user setup on an
|
||||
# empty DB is still allowed, and the login page hides its "Create account" button
|
||||
# to match. DISABLE_HOMEPAGE sends `/` straight to the app instead of the
|
||||
# marketing landing page.
|
||||
# Environment=DISABLE_REGISTRATION=true
|
||||
# Environment=DISABLE_HOMEPAGE=true
|
||||
# Environment=APP_URL=https://signage.yourcompany.com
|
||||
# Environment=STRIPE_SECRET_KEY=sk_live_...
|
||||
# Environment=STRIPE_WEBHOOK_SECRET=whsec_...
|
||||
|
|
|
|||
Loading…
Reference in a new issue