Updated references to a demo business.
This commit is contained in:
6 files changed
+25
-25
No files matched your search
@@ -2,7 +2,7 @@
|
||||
# stacks/infra/compose.yaml for the one-time setup this depends on
|
||||
# (creating this business's database on the shared MySQL server) and
|
||||
# stacks/<slug>/compose.yaml for how this file is used. Copy this to
|
||||
# `stacks/<slug>/.env` (e.g. `stacks/blake-heritage/.env` — kept out of
|
||||
# `stacks/<slug>/.env` (e.g. `stacks/demo-business/.env` — kept out of
|
||||
# git, see .gitignore) per business and fill in real values. Nothing here
|
||||
# is a real credential. Normally the management UI (manager/) generates
|
||||
# this file for you — this template is for the by-hand setup path.
|
||||
@@ -16,12 +16,12 @@
|
||||
# Manager-only bookkeeping (shown on the dashboard/edit screen, editable
|
||||
# there) — the app itself never reads this; its own business name lives
|
||||
# in the database, set via /install.
|
||||
BUSINESS_NAME="Blake Heritage Barbershop"
|
||||
BUSINESS_NAME="Demo Business"
|
||||
# The public domain this business is served on — must match the .caddy
|
||||
# site file's own domain (see stacks/infra/sites/.gitkeep) and that
|
||||
# domain's real DNS (pointed at the VPS) before Caddy can issue a
|
||||
# certificate for it.
|
||||
DOMAIN="blake-heritage.example.com"
|
||||
DOMAIN="demo-business.example.com"
|
||||
|
||||
# The app reaches MySQL via the shared infra's service hostname
|
||||
# `next-chair-mysql`, never `localhost` — see stacks/infra/compose.yaml.
|
||||
@@ -31,14 +31,14 @@ DOMAIN="blake-heritage.example.com"
|
||||
# tells the app what to connect as.
|
||||
DATABASE_HOST="next-chair-mysql"
|
||||
DATABASE_PORT="3306"
|
||||
DATABASE_NAME="blake_heritage"
|
||||
DATABASE_USER="blake_heritage"
|
||||
DATABASE_NAME="demo_business"
|
||||
DATABASE_USER="demo_business"
|
||||
DATABASE_PASSWORD="replace-me"
|
||||
# Generate with: npx auth secret
|
||||
AUTH_SECRET="replace-me-with-a-32-byte-random-string"
|
||||
# Auth.js needs to trust the host it's served from when not on localhost:3000.
|
||||
AUTH_TRUST_HOST="true"
|
||||
NEXT_PUBLIC_APP_URL="https://blake-heritage.example.com"
|
||||
NEXT_PUBLIC_APP_URL="https://demo-business.example.com"
|
||||
# One-time setup token the installation wizard (/install) requires before
|
||||
# it will create the first business/administrator — generate with:
|
||||
# openssl rand -hex 32
|
||||
@@ -51,7 +51,7 @@ CRON_SECRET="replace-me"
|
||||
# Platform-level account with every Owner permission for THIS business.
|
||||
# Not run automatically by this compose file (that's a Docker-entrypoint-
|
||||
# only behaviour, see docker/entrypoint.sh) — run it manually, once:
|
||||
# docker exec -it next-chair-blake-heritage npx tsx scripts/ensure-super-admin.ts
|
||||
# docker exec -it next-chair-demo-business npx tsx scripts/ensure-super-admin.ts
|
||||
# Leave SUPER_ADMIN_EMAIL blank to skip entirely and use the /install
|
||||
# wizard's own administrator account instead.
|
||||
SUPER_ADMIN_EMAIL=""
|
||||
@@ -68,7 +68,7 @@ AUTH_GOOGLE_SECRET=""
|
||||
# OAuth client from AUTH_GOOGLE_ID/SECRET above (different scopes).
|
||||
GOOGLE_CALENDAR_CLIENT_ID=""
|
||||
GOOGLE_CALENDAR_CLIENT_SECRET=""
|
||||
GOOGLE_CALENDAR_REDIRECT_URI="https://blake-heritage.example.com/api/staff/calendar/google/callback"
|
||||
GOOGLE_CALENDAR_REDIRECT_URI="https://demo-business.example.com/api/staff/calendar/google/callback"
|
||||
# Encrypts stored refresh tokens at rest — generate with: openssl rand -hex 32
|
||||
CALENDAR_TOKEN_ENCRYPTION_KEY=""
|
||||
|
||||
|
||||
Reference in new issue
Block a user