Skip to content

Instantly share code, notes, and snippets.

@ChakshuGautam
Created February 5, 2026 13:23
Show Gist options
  • Select an option

  • Save ChakshuGautam/1454c969f952c3d0ff8cef9b763a75c1 to your computer and use it in GitHub Desktop.

Select an option

Save ChakshuGautam/1454c969f952c3d0ff8cef9b763a75c1 to your computer and use it in GitHub Desktop.
DIGIT Service Dependency Tree

DIGIT Service Dependency Tree

Layer 0: Infrastructure (no dependencies)
├── postgres-db
├── redis
└── redpanda

Layer 1: Connection Pooling
└── pgbouncer
    └── [healthy] postgres-db

Layer 2: MDMS Core
└── mdms-backend
    ├── [healthy] pgbouncer
    └── [healthy] redpanda

Layer 3: MDMS Proxy + First Seeds
├── egov-mdms-service (nginx proxy)
│   └── [healthy] mdms-backend
│
├── mdms-tenant-seed
│   ├── [healthy] pgbouncer
│   └── [healthy] mdms-backend
│
└── db-migrations
    └── [healthy] pgbouncer

Layer 4: MDMS Data Seeds (after tenant)
├── mdms-workflow-seed
│   ├── [healthy] pgbouncer
│   ├── [healthy] mdms-backend
│   └── [completed] mdms-tenant-seed
│
└── mdms-security-seed
    ├── [healthy] pgbouncer
    ├── [healthy] mdms-backend
    └── [completed] mdms-tenant-seed

Layer 5: Core Services
├── egov-enc-service
│   ├── [healthy] egov-mdms-service
│   └── [completed] mdms-tenant-seed
│
├── egov-workflow-v2
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   └── [completed] mdms-workflow-seed
│
├── egov-localization
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   ├── [healthy] redis
│   ├── [healthy] egov-mdms-service
│   └── [completed] db-migrations
│
├── egov-idgen
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   ├── [healthy] egov-mdms-service
│   └── [completed] db-migrations
│
├── boundary-service
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   └── [healthy] egov-mdms-service
│
├── egov-accesscontrol
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   └── [healthy] egov-mdms-service
│
├── egov-persister
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   └── [healthy] egov-mdms-service
│
└── gatus
    ├── [healthy] pgbouncer
    └── [healthy] egov-mdms-service

Layer 6: Localization Seed + PGR Workflow Seed
├── localization-seed
│   ├── [healthy] pgbouncer
│   └── [healthy] egov-localization
│
└── pgr-workflow-seed
    ├── [healthy] egov-workflow-v2
    └── [completed] mdms-workflow-seed

Layer 7: User Service
└── egov-user
    ├── [healthy] pgbouncer
    ├── [healthy] redpanda
    ├── [healthy] redis
    ├── [healthy] egov-enc-service
    ├── [completed] mdms-tenant-seed
    ├── [completed] mdms-security-seed
    └── [completed] db-migrations

Layer 8: DB Seed (roles, etc.)
└── db-seed
    ├── [healthy] pgbouncer
    ├── [healthy] egov-mdms-service
    ├── [healthy] egov-workflow-v2
    ├── [healthy] egov-localization
    ├── [healthy] egov-accesscontrol
    ├── [completed] mdms-tenant-seed
    ├── [completed] mdms-workflow-seed
    ├── [completed] mdms-security-seed
    └── [completed] localization-seed

Layer 9: User Seed + Kong
├── user-seed
│   ├── [healthy] egov-user
│   ├── [healthy] egov-enc-service
│   └── [completed] db-seed
│
└── kong
    ├── [healthy] egov-mdms-service
    └── [healthy] egov-user

Layer 10: PGR + Jupyter
├── pgr-services
│   ├── [healthy] pgbouncer
│   ├── [healthy] redpanda
│   ├── [healthy] egov-mdms-service
│   ├── [healthy] egov-idgen
│   ├── [healthy] egov-user
│   ├── [healthy] egov-workflow-v2
│   └── [healthy] egov-localization
│
└── jupyter
    ├── [healthy] egov-mdms-service
    ├── [healthy] egov-user
    └── [healthy] kong

Standalone (no dependencies):
└── digit-ui

Legend

Condition Meaning
[healthy] condition: service_healthy - wait for healthcheck to pass
[completed] condition: service_completed_successfully - wait for container to exit with code 0

Critical Path

The longest dependency chain is:

postgres-db → pgbouncer → mdms-backend → mdms-tenant-seed → mdms-security-seed
    → egov-enc-service → egov-user → db-seed → user-seed

Services by Type

Infrastructure (4)

  • postgres-db, pgbouncer, redis, redpanda

Core Services (9)

  • mdms-backend, egov-mdms-service, egov-enc-service, egov-idgen
  • egov-user, egov-workflow-v2, egov-localization, egov-accesscontrol
  • egov-persister, boundary-service

Seeds (8)

  • db-migrations, mdms-tenant-seed, mdms-workflow-seed, mdms-security-seed
  • localization-seed, pgr-workflow-seed, db-seed, user-seed

Applications (4)

  • pgr-services, digit-ui, kong, jupyter, gatus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment