Deployment Architecture Notes
This public document describes CareConnect's deployment approach at a high level. It intentionally does not publish hostnames, private bind addresses, environment-file paths, release roots, shared-host inventory, or live rollback commands.
Public Documentation Boundary
This repository contains public project documentation and reproducible development information. Deployment details, credentials, monitoring configuration, private operational notes, and environment-specific production paths are intentionally excluded from public documentation.
Runtime Shape
CareConnect is designed to run as a Next.js standalone application packaged with Docker. A production deployment normally has:
- an application container built from the committed source tree,
- managed ingress in front of the container,
- environment variables supplied outside the repository,
- health checks against
/api/v1/health, - a verified service-data source, with local JSON fallback where configured.
Exact live topology is maintained in private operations material.
Local Verification
Before a release candidate is considered ready, run the public-safe checks from the repository root:
If service data changes, also run:
Environment Boundary
Copy .env.example to .env.local for local development. Do not commit .env.local, credentials, webhook URLs, private keys, database passwords, or host-specific release paths.
Public docs may name supported environment variables, but live values and host-specific locations belong in private/shared operations material.
Health Verification
The public health endpoint is:
Expected behavior:
- the endpoint returns JSON,
- the status indicates whether the app is healthy or degraded,
- no user search queries or private user data are logged by the health check.