Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
5.1 KiB
5.1 KiB
Service Deployment - Complete Status
Date: 2026-01-20
Status: 🟢 DEPLOYMENT IN PROGRESS - Infrastructure complete, services deploying
✅ Completed Infrastructure
1. All Containers Deployed
- ✅ VMID 7803: PostgreSQL (192.168.11.53)
- ✅ VMID 7802: Keycloak (192.168.11.52)
- ✅ VMID 7800: API (192.168.11.50)
- ✅ VMID 7801: Portal (192.168.11.51)
2. Network Configuration
- ✅ All containers on vmbr0 (VLAN 11)
- ✅ Gateway: 192.168.11.11 (host)
- ✅ Internet connectivity working
- ✅ DNS configured
3. PostgreSQL
- ✅ PostgreSQL 16 installed and running
- ✅ Database
sankofacreated - ✅ Database
keycloakcreated - ✅ User
sankofaconfigured - ✅ Network access enabled (192.168.11.0/24)
4. Keycloak
- ✅ Java 21 installed
- ✅ Keycloak 24.0.0 installed
- ✅ Built with PostgreSQL support
- ✅ Service configured and running
- ✅ Port 8080 listening
- ✅ Database connected
🟡 In Progress
API Service (VMID 7800)
- ✅ Container deployed
- ✅ Network configured
- ✅ Node.js 18 installation in progress
- ✅ pnpm installation in progress
- ⏸️ Project files copy pending
- ⏸️ Dependencies installation pending
- ⏸️ Service setup pending
Portal Service (VMID 7801)
- ✅ Container deployed
- ✅ Network configured
- ✅ Node.js 18 installation in progress
- ✅ pnpm installation in progress
- ⏸️ Project files copy pending
- ⏸️ Dependencies installation pending
- ⏸️ Next.js build pending
- ⏸️ Service setup pending
📋 Service Status
| Service | VMID | IP | Port | Installation | Service Status | Health |
|---|---|---|---|---|---|---|
| PostgreSQL | 7803 | 192.168.11.53 | 5432 | ✅ Complete | ✅ Running | ✅ Working |
| Keycloak | 7802 | 192.168.11.52 | 8080 | ✅ Complete | ✅ Running | 🟡 Starting |
| API | 7800 | 192.168.11.50 | 4000 | 🟡 In Progress | ⏸️ Pending | ⏸️ N/A |
| Portal | 7801 | 192.168.11.51 | 3000 | 🟡 In Progress | ⏸️ Pending | ⏸️ N/A |
🔧 Issues Resolved
Issue 1: Node.js Installation Conflict ✅
Problem: Node.js 18 installation conflicted with Node.js 12 packages
Solution:
- Remove conflicting packages (libnode-dev, libnode72)
- Clean apt cache
- Install Node.js 18 from NodeSource
- Verify installation
Issue 2: Keycloak Database ✅
Problem: Keycloak database didn't exist
Solution:
- Created
keycloakdatabase with UTF8 encoding - Granted privileges to
sankofauser - Restarted Keycloak service
📊 Deployment Progress
| Component | Status | Progress |
|---|---|---|
| Infrastructure | ✅ Complete | 100% |
| PostgreSQL | ✅ Complete | 100% |
| Keycloak | ✅ Complete | 100% |
| API | 🟡 In Progress | 50% |
| Portal | 🟡 In Progress | 50% |
Overall Progress: 75% Complete
🎯 Current Actions
-
Remove conflicting Node.js packages from API/Portal containers ✅
-
Install Node.js 18 cleanly in API/Portal containers 🟡
-
Install pnpm in API/Portal containers 🟡
-
Deploy API service:
- Copy project files
- Install dependencies
- Configure environment
- Run migrations
- Build and start service
-
Deploy Portal service:
- Copy project files
- Install dependencies
- Build Next.js app
- Configure and start service
-
Verify all services:
- Test health endpoints
- Verify inter-service connectivity
- Test API endpoints
- Test Portal access
📝 Service Endpoints
PostgreSQL
- IP: 192.168.11.53:5432
- Database: sankofa, keycloak
- Status: ✅ Running
Keycloak
- URL: http://192.168.11.52:8080
- Health: http://192.168.11.52:8080/health/ready
- Admin: http://192.168.11.52:8080/admin
- Status: ✅ Running (may need time to fully start)
API (When Deployed)
- URL: http://192.168.11.50:4000
- GraphQL: http://192.168.11.50:4000/graphql
- Health: http://192.168.11.50:4000/health
- Status: 🟡 Deploying
Portal (When Deployed)
- URL: http://192.168.11.51:3000
- Status: 🟡 Deploying
📋 Cutover Plan Status
Updated: ✅ Cutover plan updated with actual IPs/ports
| Domain | VMID | IP | Port | Service Type | Status |
|---|---|---|---|---|---|
sankofa.nexus |
7801 | 192.168.11.51 | 3000 | Portal | 🟡 Deploying |
www.sankofa.nexus |
7801 | 192.168.11.51 | 3000 | Portal | 🟡 Deploying |
phoenix.sankofa.nexus |
7800 | 192.168.11.50 | 4000 | API | 🟡 Deploying |
www.phoenix.sankofa.nexus |
7800 | 192.168.11.50 | 4000 | API | 🟡 Deploying |
the-order.sankofa.nexus |
⚠️ TBD | ⚠️ TBD | ⚠️ TBD | TBD | ⏸️ Pending |
✅ Next Steps After Deployment
- Verify all services are running
- Test all health endpoints
- Verify inter-service connectivity
- Update NPMplus proxy hosts with actual IPs/ports
- Perform cutover from Blockscout routing
- Test end-to-end routing
- Monitor services
Last Updated: 2026-01-20
Status: 🟡 Services deploying (75% complete)
Priority: Complete API and Portal deployments