Demo business removal
CI / ci (push) Canceled after 0s

Removed the demo business as its easier to just provision one manually.
This commit is contained in:
Stefan Lazic committed 2026-09-06 19:01:41 +01:00
1 parent 217c0b0101
commit d7a8b15482
6 files changed
+32 -84

No files matched your search

+10 -8
View File
@@ -6,11 +6,13 @@ name: next-chair-infra
# one shared schema — see step 1 below).
#
# Lives in stacks/infra/, one directory per stack (each with its own
# compose.yaml) — see stacks/demo-business/, stacks/marios/ for the same
# shape per business, and stacks/manager/ for the management UI's own
# stack. Deliberately separate from docker-compose.local.yaml at the
# repo root, which is the single-business local/Docker-Desktop setup and
# stays untouched by any of this.
# compose.yaml) — see stacks/manager/ for the management UI's own stack.
# Per-business stacks (stacks/<slug>/) are provisioned by the management
# UI itself (see manager/src/lib/compose-template.ts for the shape it
# generates) rather than kept as hand-written examples in this repo.
# Deliberately separate from docker-compose.local.yaml at the repo root,
# which is the single-business local/Docker-Desktop setup and stays
# untouched by any of this.
#
# Stack management/provisioning is handled by NextChair Manager (see
# manager/ at the repo root) — there is no separate stack-management UI
@@ -31,9 +33,9 @@ name: next-chair-infra
# initdb.d scripts only ever run once against an empty data
# directory — so this one step is manual, run once per business:
# docker exec -it next-chair-mysql mysql -uroot -p
# CREATE DATABASE demo_business CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
# CREATE USER 'demo_business'@'%' IDENTIFIED BY 'choose-a-strong-password';
# GRANT ALL PRIVILEGES ON demo_business.* TO 'demo_business'@'%';
# CREATE DATABASE example_business CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
# CREATE USER 'example_business'@'%' IDENTIFIED BY 'choose-a-strong-password';
# GRANT ALL PRIVILEGES ON example_business.* TO 'example_business'@'%';
# FLUSH PRIVILEGES;
# 2. Copy .env.business.example to stacks/<slug>/.env, fill it in with
# the credentials just created and that business's domain.
+2 -2
View File
@@ -2,8 +2,8 @@ Keeps this otherwise-empty directory tracked in git.
Each business gets its own <slug>.caddy file here, e.g.:
demo-business.example.com {
reverse_proxy next-chair-demo-business:3000
example-business.example.com {
reverse_proxy next-chair-example-business:3000
}
Generated by the management UI (manager/) when a business is added, or