Document production domain split in README
CI / lint (push) Canceled after 0s
CI / typecheck (push) Canceled after 0s
CI / unit-tests (push) Canceled after 0s
CI / integration-tests (push) Canceled after 0s
CI / container-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
CI / lint (push) Canceled after 0s
CI / typecheck (push) Canceled after 0s
CI / unit-tests (push) Canceled after 0s
CI / integration-tests (push) Canceled after 0s
CI / container-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
api.amdbs.net (backend) / www.amdbs.net (frontend) -- records the required AURORA_API_HOST and CORS_ORIGINS values for the production .env, and the external-Traefik prerequisite docker-compose.prod.yml already assumed but never spelled out. Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
0a50e0ffb6
commit
a8cb807d56
@@ -180,6 +180,19 @@ disables asyncpg's server-side prepared statements, which don't survive
|
||||
transaction-mode pooling), horizontally-scaled API and worker replicas. See
|
||||
[`docs/architecture.md`](docs/architecture.md).
|
||||
|
||||
Requires an external Traefik instance already running with a
|
||||
`traefik-public` Docker network and a `letsencrypt` cert resolver
|
||||
configured (`docker-compose.prod.yml` attaches to it, it doesn't run
|
||||
Traefik itself). Aurora Core's production domain split is `api.amdbs.net`
|
||||
(this backend) / `www.amdbs.net` (frontend, separate project) — the
|
||||
production `.env` (never committed) needs, beyond the base vars in
|
||||
`.env.example`:
|
||||
|
||||
```bash
|
||||
AURORA_API_HOST=api.amdbs.net # Traefik router rule (docker-compose.prod.yml only, not read by the app)
|
||||
CORS_ORIGINS=https://www.amdbs.net # must include the frontend's real origin
|
||||
```
|
||||
|
||||
## Known limitations
|
||||
|
||||
See [`docs/database.md#known-limitations`](docs/database.md#known-limitations)
|
||||
|
||||
Reference in New Issue
Block a user