Default signups off, improve Docker deploy, fix onboarding step UI.
Show a disabled-registration state on the register page when DISABLE_SIGNUPS is true (default), document docker-deploy.sh with git-SHA image tags, and align onboarding progress circles and labels on a shared grid. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+10
-4
@@ -11,7 +11,7 @@
|
||||
# Quick start (Docker app + Postgres):
|
||||
# cp .env.example .env
|
||||
# # edit AUTH_SECRET + public URLs below
|
||||
# docker compose up -d --build
|
||||
# ./scripts/docker-deploy.sh
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
# Build-time vs runtime (Docker)
|
||||
@@ -31,7 +31,8 @@
|
||||
# emails, and MCP links. In the browser, sign-in uses the current page origin
|
||||
# automatically so dev works when Next picks another port (e.g. 3002).
|
||||
#
|
||||
# Updating production: git pull && docker compose up -d --build
|
||||
# Updating production: git pull && ./scripts/docker-deploy.sh
|
||||
# (or: docker compose up -d --build). Plain `docker compose up -d` does NOT rebuild.
|
||||
# Migrations run on every app start (idempotent — only pending SQL is applied).
|
||||
|
||||
# =============================================================================
|
||||
@@ -75,6 +76,10 @@ POSTGRES_PORT=5432
|
||||
# Host port mapped to container :3000 (WEB_PORT, then PORT, then 3000).
|
||||
WEB_PORT=3000
|
||||
|
||||
# App image tag for docker-compose.yml (optional). docker-deploy.sh sets
|
||||
# beenvoice:<git-sha> automatically; default without it is beenvoice:local.
|
||||
# BEENVOICE_IMAGE=beenvoice:local
|
||||
|
||||
# Postgres credentials for docker-compose.yml `db` service.
|
||||
# DATABASE_URL inside the app container is set by compose (host `db`, not localhost).
|
||||
POSTGRES_USER=postgres
|
||||
@@ -112,8 +117,9 @@ NEXT_PUBLIC_UMAMI_SCRIPT_URL=https://analytics.umami.is/script.js
|
||||
# Access control (optional)
|
||||
# =============================================================================
|
||||
|
||||
# Block new email/password registrations. Use literal true or false.
|
||||
# DISABLE_SIGNUPS=true
|
||||
# Block new email/password registrations (default: true / signups off).
|
||||
# Set DISABLE_SIGNUPS=false to allow new email/password signups.
|
||||
# DISABLE_SIGNUPS=false
|
||||
|
||||
# Bearer token for POST /api/cron/generate-recurring (recurring invoice cron).
|
||||
# CRON_SECRET=
|
||||
|
||||
Reference in New Issue
Block a user