docs improvements

This commit is contained in:
Rotimi Best
2026-03-11 13:53:59 +01:00
parent cd470b5d05
commit 3dc64e8c32
5 changed files with 30 additions and 6 deletions
+2 -1
View File
@@ -107,8 +107,9 @@ services:
NODE_ENV: production
PORT: 3081
PUBLIC_SERVER_URL: ${PUBLIC_SERVER_URL:-http://localhost:3081}
TRUSTED_ORIGINS: ${TRUSTED_ORIGINS:-http://localhost:3082,http://localhost:5173}
TRUSTED_ORIGINS: ${TRUSTED_ORIGINS:-http://localhost:3082}
AUTH_COOKIE_DOMAIN: ${AUTH_COOKIE_DOMAIN:-}
DASHBOARD_ORIGIN: ${DASHBOARD_ORIGIN:-http://localhost:3082}
DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/${POSTGRES_DB:-classroomio}
PRIVATE_DATABASE_URL: postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgres}@postgres:5432/${POSTGRES_DB:-classroomio}
REDIS_URL: redis://redis:6379
+1
View File
@@ -26,6 +26,7 @@ All Docker services read from a single root `.env` file. See [`.env.example`](..
Key points:
- **Required:** `PUBLIC_SERVER_URL`, `TRUSTED_ORIGINS`, `BETTER_AUTH_SECRET`, `PUBLIC_IS_SELFHOSTED=true`, `ALLOWED_EXTERNAL_DOMAINS`, `DASHBOARD_ORIGIN`.
- **Auth cookies:** When `AUTH_COOKIE_DOMAIN` is absent, the API falls back to `DASHBOARD_ORIGIN` (hostname).
- **Auto-generated:** `AUTH_BEARER_TOKEN`, `PRIVATE_SERVER_KEY` (by `./run-docker-full-stack.sh`).
- **Auto-configured:** All `MINIO_*` / `OBJECT_STORAGE_*` vars (by the startup script).
- **Optional:** Email (SMTP or Zoho), Google OAuth, Unsplash, `LICENSE_KEY` (enterprise).