-
Notifications
You must be signed in to change notification settings - Fork 0
Compose
Bell Eapen edited this page Jan 17, 2026
·
1 revision
The dhti-cli compose command is the heart of the DHTI stack. It generates and manages the docker-compose.yml file that defines your entire healthcare application environment.
npx dhti-cli compose [OP] [FLAGS]- add: Add specific modules to your stack.
- delete: Remove modules.
- read: Display the current compose configuration.
- reset: Reset the compose file to a default state.
You can mix and match these modules to build your platform:
| Module | Description |
|---|---|
| openmrs | The core EMR system for patient records and UI. |
| langserve | Hosting for your GenAI "Elixirs". |
| ollama | Local LLM inference (runs Llama 3, Mistral, etc.). |
| redis | Vector store for RAG (Retrieval Augmented Generation). |
| neo4j | Graph database for relationship mapping. |
| langfuse | Observability for tracing LLM chains. |
| cqlFhir | HAPI FHIR server with Clinical Quality Language (CQL) support. |
| mcpx | Connects to external MCP tools and "Docktor" containers. |
| docktor | Manages ML inference containers. |
Create a simple stack with OpenMRS and an Elixir backend:
npx dhti-cli compose add -m openmrs -m langserveAdd local LLM, vector store, and observability:
npx dhti-cli compose add -m openmrs -m langserve -m ollama -m redis -m langfuseSee what changes would be made without actually modifying the file:
npx dhti-cli compose add -m docktor --dry-run-
--dry-run: Preview changes. -
--host: Use host environment variables (e.g.,${VAR_NAME:-default}). -
-f, --file: Specify a custom path for the docker-compose file (default:~/dhti/docker-compose.yml).