For the complete documentation index, see llms.txt. This page is also available as Markdown.

Method 2: Deployment Using Docker Compose

On-Prem Deployment Guide (Azure)

Choose this option only when you need finer-grained control over container startup than deploy.sh gives you (e.g. custom orchestration, staged rollouts). This path requires you to manage the shared Docker network and per-service ordering yourself.

Step 1: Authenticate with ECR

On the VM:

# Authenticate with ECR
aws ecr get-login-password --region ap-south-1 | \
  docker login --username AWS --password-stdin \
  730335373269.dkr.ecr.ap-south-1.amazonaws.com

If using your own ECR:

aws ecr get-login-password --region YOUR_REGION | \
  docker login --username AWS --password-stdin \
  YOUR_ACCOUNT.dkr.ecr.YOUR_REGION.amazonaws.com

Step 2: Create Docker Network

On the VM:

docker network create microservices_network

Step 3: Deploy VM Services

On VM only:

cd /opt/hivel-onprem/services/vm
 
# Pull all images
docker-compose --env-file ../../config/.env pull
 
# Deploy all services
docker-compose --env-file ../../config/.env up -d
 
# Or deploy specific service
docker-compose --env-file ../../config/.env up -d auth-svc

Docker Compose Management Commands

Next step: Log Rotation Setup.

Last updated