Deployment And Environments
Teamwork is service-oriented: web, API, gateway, and worker are independently buildable and deployable processes.
Production Shape
app.<domain> apps/web
api.<domain> apps/api
gateway.<domain> apps/gateway
worker apps/worker
docs.<domain> apps/docs static exportDeployment Rules
- Each app owns build, start, healthz, readyz, and env validation.
- Railway deployment must not rely on one shared production .env file.
- Browser-facing values stay public; service-to-service traffic can use private networking later.
- Docs deploy as static files and do not require runtime secrets.
Source Material
- docs/deployment/README.md
- docs/deployment/service-boundaries.md
- ops/railway/env-matrix.md