Get started
How the lab fits together
The machines, containers, networks and paths a request or message travels through.
The whole lab runs on one Debian machine on your home network, FHIRServer (192.168.1.181). It is completely separate from CrowServer: it has its own Docker host, its own Cloudflare account and its own domain.
Docker stacks#
Each part is its own Docker Compose project in ~/fhir-lab, so you can restart or rebuild one without touching the others.
| Stack | Folder | Containers | Network |
|---|---|---|---|
hapi |
~/fhir-lab/hapi |
hapi-hapi-1, hapi-db-1 |
hapi_default |
oie |
~/fhir-lab/oie |
oie-engine-1, oie-db-1 |
oie_default |
tunnel |
~/fhir-lab/tunnel |
tunnel-cloudflared-1 |
hapi_default, fhirdrill_edge |
fhirdrill-web |
~/fhir-lab/web |
fhirdrill-web-web-1 |
fhirdrill_edge |
fhirdrill-private |
~/fhir-lab/private |
fhirdrill-private-web-1 |
fhirdrill_edge |
mock-au-core |
~/fhir-lab/mock-au-core |
mock-au-core-hapi-1 (H2 database) |
fhirdrill_edge |
openemr |
~/fhir-lab/openemr |
openemr-openemr-1, openemr-db-1 (MariaDB 11.4) |
openemr_default, fhirdrill_edge |
Synthea, the validator and the HL7 sender are not long-running services. Each runs as a short-lived container only when you use it.
Network boundaries#
- Only two things are reachable from the internet:
fhir.fhirdrill.dev, which requires the Access login, andfhirdrill.dev, which is public and serves only these docs and the logos. - The tunnel can't reach the integration engine. The engine and its Postgres are on
oie_default, which the tunnel is not attached to. - MLLP (ports 6661–6670) and the engine Administrator (8443) are LAN only.
- Both databases have no published ports, so only the containers in their own stack can reach them.
Where data lives#
| Data | Stored in | Survives docker compose down? |
|---|---|---|
| FHIR resources | Docker volume hapi_pgdata |
Yes, unless you add -v |
| Engine channels, messages and settings | Volumes oie_pgdata and oie_appdata |
Yes, unless you add -v |
| Synthea output | ~/fhir-lab/synthea/output/fhir |
Yes (plain files) |
| Validator package cache | ~/fhir-lab/validator/cache |
Yes (plain files) |