-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
WaiHein-REISys edited this page Feb 3, 2026
·
1 revision
- Docker Desktop
- Ports 3000, 3001, 5432 free
docker run -d --name postgres-local \
-e POSTGRES_USER=admin \
-e POSTGRES_PASSWORD=admin \
-e POSTGRES_DB=rei_community_dev \
-p 5432:5432 \
postgres:15cd backend
docker build -t backend:latest .
docker run --rm --network host backend:latest python database/init_db.py
docker run --rm --network host backend:latest python database/seed_data.py
# Then run init_static_data.sql against the DB (e.g. from host with psql)docker run -d -p 3001:3001 \
-e DATABASE_URL=postgresql://admin:admin@host.docker.internal:5432/rei_community_dev \
--name backend-app \
backend:latestcd frontend
docker build -t frontend:latest .
docker run -d -p 3000:3000 --name frontend-app frontend:latest- App: http://localhost:3000/login
- Credentials: admin / admin
-
Resource group: e.g.
RG-OpenSourcePOC -
PostgreSQL: Azure Container Instance or managed DB (e.g.
rei-pprs-postgres/rei_pprs_dev) -
Container Registry: e.g.
reiopensourcepoc.azurecr.io
Workflow: .github/workflows/build-docker.yml
-
Triggers: Push or PR to
main, orworkflow_dispatch. -
Secrets:
ACR_LOGIN_SERVER,ACR_USERNAME,ACR_PASSWORD,AZURE_BACKEND_URL(for frontend build). -
Jobs:
- Build and push backend image to ACR (
backend:latest,backend:<sha>). - Build and push frontend image with
NEXT_PUBLIC_BACKEND_URLfromAZURE_BACKEND_URL.
- Build and push backend image to ACR (
# Backend
cd backend
docker build -t reiopensourcepoc.azurecr.io/hrsa-backend:latest .
docker push reiopensourcepoc.azurecr.io/hrsa-backend:latest
# Frontend (set build-arg if needed)
cd frontend
docker build --build-arg NEXT_PUBLIC_BACKEND_URL=https://your-backend.azurecontainer.io -t reiopensourcepoc.azurecr.io/hrsa-frontend:latest .
docker push reiopensourcepoc.azurecr.io/hrsa-frontend:latestContainers are then deployed to Azure Container Instances (or your chosen host) using these images.
Home · API Reference · Deployment
© 2026 REI Systems. All rights reserved.
Community Development Platform
Getting Started
Development
Features
Reference
Deployment