mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 08:57:15 -05:00
1.2 KiB
1.2 KiB
Railway Environment Guide
Railway deployments are driven from the monorepo. Each service declares its own variables here so workflows can validate and operators can provision them consistently.
Core API (services/core-api)
CORE_API_DATABASE_URLCORE_API_SECRET_KEYCORE_API_ALLOWED_ORIGINSCORE_API_HEALTHCHECK_URL(defaults to deployed/healthendpoint)
Public API (services/public-api)
PUBLIC_API_DATABASE_URLPUBLIC_API_SECRET_KEYPUBLIC_API_ALLOWED_ORIGINSPUBLIC_API_HEALTHCHECK_URL
Operator (services/operator)
OPERATOR_API_URLOPERATOR_SECRET_KEYOPERATOR_ALLOWED_ORIGINSOPERATOR_HEALTHCHECK_URL
Prism Console (apps/prism-console)
PRISM_API_URLPRISM_CONSOLE_PUBLIC_URLPRISM_CONSOLE_AUTH_TOKEN
Web (apps/web)
WEB_PUBLIC_URLWEB_API_URLWEB_BUILD_ENV
Docs (docs/site)
DOCS_PUBLIC_URL
Deployment Notes
- Secrets are injected via
${{ secrets.RAILWAY_TOKEN }}in GitHub Actions; do not commit credentials. - Healthchecks should respond on
/healthand/versionfor every deployed service. - Update this guide when adding a new service so deployment workflows remain aligned.