Files
blackroad-operating-system/templates/minimal-service/.env.example
Claude 9d42204d15 Add comprehensive service status infrastructure
- Add SERVICE_STATUS.md: Complete analysis of all blackroad.systems services
- Add check_all_services.sh: Automated service health checker script
- Add minimal-service template: Production-ready FastAPI service template

Service Status Findings:
- All 9 services return 403 Forbidden (Cloudflare blocking)
- Services are deployed and DNS is working correctly
- Issue is Cloudflare WAF/security rules, not service implementation

Template Features:
- Complete syscall API compliance (/v1/sys/*)
- Railway deployment ready
- CORS configuration
- Health and version endpoints
- HTML "Hello World" landing page
- OpenAPI documentation

Existing Service Implementations:
✓ Core API (services/core-api)
✓ Public API (services/public-api)
✓ Operator (operator_engine)
✓ Prism Console (prism-console)
✓ App/Shell (backend)

Next Steps:
1. Configure Cloudflare WAF to allow health check endpoints
2. Use minimal-service template for missing services
3. Implement full syscall API in existing services
4. Test inter-service RPC communication

Refs: #125
2025-11-20 01:48:02 +00:00

28 lines
695 B
Plaintext

# BlackRoad OS - Minimal Service Environment Configuration
# Service Identity
SERVICE_NAME=blackroad-os-example
SERVICE_ROLE=example
SERVICE_VERSION=1.0.0
# Environment
ENVIRONMENT=development # production | development
PORT=8000
# CORS Configuration
ALLOWED_ORIGINS=http://localhost:8000,http://localhost:3000,https://blackroad.systems
# DNS (auto-configured in production)
CLOUDFLARE_URL=https://example.blackroad.systems
RAILWAY_STATIC_URL= # Auto-provided by Railway
RAILWAY_PRIVATE_URL= # Auto-provided by Railway
# Optional: Railway metadata (auto-provided)
RAILWAY_GIT_COMMIT_SHA=
RAILWAY_REGION=
RAILWAY_SERVICE_ID=
RAILWAY_DEPLOYMENT_ID=
# Optional: Build metadata
BUILD_TIME=