Method 1: Deployment Using deploy.sh Script
On-Prem Deployment Guide (Azure)
Deploy VM Services
Goal: bring up all primary services (UI, API Gateway, Auth, integrations, Redis) on VM.
Prerequisites: flyway-migration completed and .env switched to the application user (Database Migration); ECR access configured (ECR Access Configuration).
On VM only:
cd /opt/hivel-onprem
# Deploy all VM services
./deploy.sh --vmOr deploy a specific service:
Expected result: ./deploy.sh --status on VM shows all VM services as Up.
If it fails: see Services not starting in Troubleshooting.
Available deploy.sh Commands
# Deploy all services
./deploy.sh --all
# Deploy VM services only
./deploy.sh --vm
# Deploy specific service
./deploy.sh --service <service-name>
# Check service status
./deploy.sh --status
# Check service health
./deploy.sh --health
# View logs
./deploy.sh --logs
./deploy.sh --logs <service-name>
# Start services
./deploy.sh --start
# Stop services
./deploy.sh --stop
# Restart services
./deploy.sh --restart
# Update services (pull latest images)
./deploy.sh --update
# List all services
./deploy.sh --list
# Show help
./deploy.sh --help
Next step: Log Rotation Setup.
Last updated