Files
boc/docs/DEPLOYMENT_STRATEGY.md
T
Bernt 6c2b5ee340 Deployment Strategy: 4 environments + Docker setup
- Development: localhost (API:3002, UI:3003)
- Integration: AI model validation
- Pilot: pilot.landvex.com (Docker Compose)
- Production: app.landvex.com
- Intelligence Lab: lab.landvex.internal

Docker Compose:
- API (Node.js)
- UI (Nginx)
- PostgreSQL
- MinIO (object storage)

Next: Deploy pilot environment
2026-07-02 16:53:10 +00:00

94 lines
1.9 KiB
Markdown

# Deployment Strategy
## Four Environments
| Environment | Users | Purpose |
|-------------|-------|---------|
| **Development** | Developers | Fast iteration, debugging, local tests |
| **Integration** | AI/ML team | Model validation, regression tests |
| **Pilot** | Team, pilot customers, testers | Real missions with test data |
| **Production** | Customers | Live operations |
## Development
- Localhost (API + UI)
- In-memory repositories
- Fast restart
- No persistence
## Integration
- AI model validation
- Golden Missions regression tests
- Model comparison
- Evaluation reports
## Pilot
- `pilot.landvex.com`
- Shared API, database, object storage
- Authentication
- Logging
- Monitoring
- TestFlight (iOS) / Google Play Internal Testing (Android)
## Production
- `app.landvex.com`
- Full security
- SLA
- Backup
- Disaster recovery
## Intelligence Lab
- `lab.landvex.internal` or `intelligence.landvex.com`
- Strict role-based access
- Not exposed to pilot customers
## Distribution Goals
**Next milestone:**
> A pilot user gets a link, installs the app via TestFlight or Google Play Internal Testing, logs in, and completes a real mission without developer assistance.
## App Distribution
| Platform | Method | Users |
|----------|--------|-------|
| iOS | TestFlight Internal | Team, testers |
| Android | Google Play Internal Testing | Team, testers |
| Web | `pilot.landvex.com` | All roles |
## Backend
All clients → same API → same business logic.
```
iPhone App
Android App
Web App
|
|── API ──|
| |
Application Layer
|
Domain
|
Infrastructure
```
## AI Model Pipeline
```
Development → Integration → Pilot → Production
```
No model goes directly from developer laptop to pilot or production.
## Current Status
- ✅ Development: localhost (API:3002, UI:3003)
- ⏳ Integration: not set up
- ⏳ Pilot: not set up
- ⏳ Production: not set up