Files
dbis_core/DEPLOYMENT_READY.md
2026-01-02 20:27:42 -08:00

2.3 KiB

DBIS Core Deployment - Ready to Deploy

Status: Ready

All containers are created and deployment scripts are copied to the Proxmox host.

Files Copied to Proxmox Host

Location: /root/proxmox/dbis_core/

  • scripts/ - All deployment and management scripts
  • config/ - Configuration files
  • templates/ - Service templates (nginx, systemd, etc.)

Deployment Command

Run the following command to deploy all services:

ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/deployment && ./deploy-all.sh"

Or deploy services individually:

# Deploy PostgreSQL
ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/deployment && ./deploy-postgresql.sh"

# Deploy Redis
ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/deployment && ./deploy-redis.sh"

# Deploy API
ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/deployment && ./deploy-api.sh"

# Deploy Frontend
ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/deployment && ./deploy-frontend.sh"

Deployment Order

The deploy-all.sh script will automatically deploy services in the correct order:

  1. Phase 1: Foundation Services

    • PostgreSQL (primary + replica)
    • Redis
  2. Phase 2: Application Services

    • Backend API (primary + secondary)
    • Frontend Admin Console

Post-Deployment Tasks

After deployment completes:

  1. Configure Database

    ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/deployment && ./configure-database.sh"
    
  2. Check Service Status

    ssh root@192.168.11.10 "cd /root/proxmox/dbis_core/scripts/management && ./status.sh"
    
  3. Test API Health

    curl http://192.168.11.150:3000/health
    

Container Status

All containers are running:

  • 10100: dbis-postgres-primary (192.168.11.100)
  • 10101: dbis-postgres-replica-1 (192.168.11.101)
  • 10120: dbis-redis (192.168.11.120)
  • 10150: dbis-api-primary (192.168.11.150)
  • 10151: dbis-api-secondary (192.168.11.151)
  • 10130: dbis-frontend (192.168.11.130)

Notes

  • All scripts are executable and have correct permissions
  • Configuration files are in place
  • Scripts will automatically detect and use existing containers
  • Deployment scripts must be run as root on the Proxmox host