CI / ci (push) Canceled after 0s
Implemented the deployment redesign. - Added Dockge-first-class stacks: - [stacks/infra/compose.yaml] - [stacks/caddy/compose.yaml] - Added reusable business template: [deploy/business-compose.yaml.template] - Added automated provisioning: [scripts/create-business.sh] - Added per-business database/user, secrets, media volume, private networks, and Caddy route generation. - Removed Traefik and manual business Compose files. - Updated environment templates, .gitignore, and deployment documentation in [README.md] Validation completed: - Docker Compose config passed for infra, Caddy, and generated business stacks. - Shell syntax validation passed. - Registry image tags containing / were tested. - No remaining Traefik or obsolete deployment references found.
18 lines
637 B
Bash
18 lines
637 B
Bash
# Generated business environment file. Run
|
|
# `./scripts/create-business.sh <slug> <domain>` instead of editing a copy.
|
|
DOMAIN="example.com"
|
|
DATABASE_HOST="nextchair-mysql"
|
|
DATABASE_PORT=3306
|
|
DATABASE_NAME="nextchair_example_business"
|
|
DATABASE_USER="nextchair_example_business"
|
|
DATABASE_PASSWORD="replace-me"
|
|
DATABASE_CONNECTION_LIMIT=5
|
|
DATABASE_CONNECT_TIMEOUT_MS=10000
|
|
DATABASE_SSL=false
|
|
AUTH_SECRET="replace-with-a-long-random-secret"
|
|
AUTH_TRUST_HOST=true
|
|
NEXT_PUBLIC_APP_URL="https://example.com"
|
|
INSTALLATION_TOKEN="replace-with-a-long-random-token"
|
|
CRON_SECRET="replace-with-a-long-random-secret"
|
|
NEXTCHAIR_IMAGE="nextchair:latest"
|