Skip to content

Commit 9202cf4

Browse files
skylightis666claude
andcommitted
Fix public docs: contact link, file downloads, remove MDMBOX_HTTP_HOST from examples
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1b08775 commit 9202cf4

6 files changed

Lines changed: 157 additions & 11 deletions

File tree

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
services:
2+
db:
3+
image: postgres:18
4+
volumes:
5+
- pg_data:/var/lib/postgresql/data
6+
environment:
7+
POSTGRES_DB: aidbox
8+
POSTGRES_USER: postgres
9+
POSTGRES_PASSWORD: postgres
10+
healthcheck:
11+
test: ["CMD-SHELL", "pg_isready -U postgres"]
12+
interval: 5s
13+
timeout: 5s
14+
retries: 5
15+
16+
aidbox:
17+
image: healthsamurai/aidboxone:edge
18+
depends_on:
19+
db:
20+
condition: service_healthy
21+
ports:
22+
- "8888:8080"
23+
environment:
24+
BOX_DB_HOST: db
25+
BOX_DB_PORT: "5432"
26+
BOX_DB_DATABASE: aidbox
27+
BOX_DB_USER: postgres
28+
BOX_DB_PASSWORD: postgres
29+
BOX_SETTINGS_MODE: read-write
30+
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1
31+
BOX_FHIR_BUNDLE_EXECUTION_VALIDATION_MODE: limited
32+
BOX_FHIR_COMPLIANT_MODE: "true"
33+
BOX_FHIR_CORRECT_AIDBOX_FORMAT: "true"
34+
BOX_FHIR_CREATEDAT_URL: https://aidbox.app/ex/createdAt
35+
BOX_FHIR_JSON_SCHEMA_DATETIME_REGEX: "#{:fhir-datetime}"
36+
BOX_FHIR_SCHEMA_VALIDATION: "true"
37+
BOX_FHIR_SEARCH_ENGINE: jsonpath
38+
BOX_FHIR_SEARCH_AUTHORIZE_INLINE_REQUESTS: "true"
39+
BOX_FHIR_SEARCH_CHAIN_SUBSELECT: "true"
40+
BOX_FHIR_SEARCH_COMPARISONS: "true"
41+
BOX_FHIR_SEARCH_INCLUDE_CONFORMANT: "true"
42+
BOX_FHIR_TERMINOLOGY_SERVICE_BASE_URL: https://tx.health-samurai.io/fhir
43+
BOX_FHIR_TERMINOLOGY_ENGINE: hybrid
44+
BOX_FHIR_TERMINOLOGY_ENGINE_HYBRID_EXTERNAL_TX_SERVER: https://tx.health-samurai.io/fhir
45+
BOX_SECURITY_DEV_MODE: "true"
46+
BOX_SECURITY_AUDIT_LOG_ENABLED: "true"
47+
BOX_ADMIN_ID: postgres
48+
BOX_ADMIN_PASSWORD: postgres
49+
BOX_ROOT_CLIENT_ID: root
50+
BOX_ROOT_CLIENT_SECRET: secret
51+
BOX_WEB_BASE_URL: http://localhost:8888
52+
BOX_WEB_PORT: "8080"
53+
healthcheck:
54+
test: curl -f http://localhost:8080/health || exit 1
55+
interval: 5s
56+
timeout: 5s
57+
retries: 90
58+
start_period: 30s
59+
60+
mdmbox:
61+
image: healthsamurai/mdmbox:latest
62+
depends_on:
63+
aidbox:
64+
condition: service_healthy
65+
ports:
66+
- "3000:3000"
67+
environment:
68+
# Same database as Aidbox
69+
BOX_DB_HOST: db
70+
BOX_DB_PORT: "5432"
71+
BOX_DB_DATABASE: aidbox
72+
BOX_DB_USER: postgres
73+
BOX_DB_PASSWORD: postgres
74+
# Same Aidbox settings
75+
BOX_SETTINGS_MODE: read-write
76+
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1
77+
BOX_FHIR_BUNDLE_EXECUTION_VALIDATION_MODE: limited
78+
BOX_FHIR_COMPLIANT_MODE: "true"
79+
BOX_FHIR_CORRECT_AIDBOX_FORMAT: "true"
80+
BOX_FHIR_CREATEDAT_URL: https://aidbox.app/ex/createdAt
81+
BOX_FHIR_JSON_SCHEMA_DATETIME_REGEX: "#{:fhir-datetime}"
82+
BOX_FHIR_SCHEMA_VALIDATION: "true"
83+
BOX_FHIR_SEARCH_ENGINE: jsonpath
84+
BOX_FHIR_SEARCH_AUTHORIZE_INLINE_REQUESTS: "true"
85+
BOX_FHIR_SEARCH_CHAIN_SUBSELECT: "true"
86+
BOX_FHIR_SEARCH_COMPARISONS: "true"
87+
BOX_FHIR_SEARCH_INCLUDE_CONFORMANT: "true"
88+
BOX_FHIR_TERMINOLOGY_SERVICE_BASE_URL: https://tx.health-samurai.io/fhir
89+
BOX_FHIR_TERMINOLOGY_ENGINE: hybrid
90+
BOX_FHIR_TERMINOLOGY_ENGINE_HYBRID_EXTERNAL_TX_SERVER: https://tx.health-samurai.io/fhir
91+
BOX_SECURITY_DEV_MODE: "true"
92+
BOX_SECURITY_AUDIT_LOG_ENABLED: "true"
93+
BOX_ADMIN_ID: postgres
94+
BOX_ADMIN_PASSWORD: postgres
95+
BOX_ROOT_CLIENT_ID: root
96+
BOX_ROOT_CLIENT_SECRET: secret
97+
98+
volumes:
99+
pg_data: {}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
services:
2+
db:
3+
image: postgres:18
4+
volumes:
5+
- pg_data:/var/lib/postgresql/data
6+
environment:
7+
POSTGRES_DB: mdmbox
8+
POSTGRES_USER: postgres
9+
POSTGRES_PASSWORD: postgres
10+
healthcheck:
11+
test: ["CMD-SHELL", "pg_isready -U postgres"]
12+
interval: 5s
13+
timeout: 5s
14+
retries: 5
15+
16+
mdmbox:
17+
image: healthsamurai/mdmbox:latest
18+
depends_on:
19+
db:
20+
condition: service_healthy
21+
ports:
22+
- "3000:3000"
23+
environment:
24+
# Database
25+
BOX_DB_HOST: db
26+
BOX_DB_PORT: "5432"
27+
BOX_DB_DATABASE: mdmbox
28+
BOX_DB_USER: postgres
29+
BOX_DB_PASSWORD: postgres
30+
# Aidbox / libox settings
31+
BOX_SETTINGS_MODE: read-write
32+
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1
33+
BOX_FHIR_BUNDLE_EXECUTION_VALIDATION_MODE: limited
34+
BOX_FHIR_COMPLIANT_MODE: "true"
35+
BOX_FHIR_CORRECT_AIDBOX_FORMAT: "true"
36+
BOX_FHIR_CREATEDAT_URL: https://aidbox.app/ex/createdAt
37+
BOX_FHIR_JSON_SCHEMA_DATETIME_REGEX: "#{:fhir-datetime}"
38+
BOX_FHIR_SCHEMA_VALIDATION: "true"
39+
BOX_FHIR_SEARCH_ENGINE: jsonpath
40+
BOX_FHIR_SEARCH_AUTHORIZE_INLINE_REQUESTS: "true"
41+
BOX_FHIR_SEARCH_CHAIN_SUBSELECT: "true"
42+
BOX_FHIR_SEARCH_COMPARISONS: "true"
43+
BOX_FHIR_SEARCH_INCLUDE_CONFORMANT: "true"
44+
BOX_FHIR_TERMINOLOGY_SERVICE_BASE_URL: https://tx.health-samurai.io/fhir
45+
BOX_FHIR_TERMINOLOGY_ENGINE: hybrid
46+
BOX_FHIR_TERMINOLOGY_ENGINE_HYBRID_EXTERNAL_TX_SERVER: https://tx.health-samurai.io/fhir
47+
BOX_SECURITY_DEV_MODE: "true"
48+
BOX_SECURITY_AUDIT_LOG_ENABLED: "true"
49+
BOX_ADMIN_ID: postgres
50+
BOX_ADMIN_PASSWORD: postgres
51+
BOX_ROOT_CLIENT_ID: admin
52+
BOX_ROOT_CLIENT_SECRET: secret
53+
54+
volumes:
55+
pg_data: {}

docs/examples/docker-compose.shared.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ services:
7171
BOX_DB_DATABASE: aidbox
7272
BOX_DB_USER: postgres
7373
BOX_DB_PASSWORD: postgres
74-
MDMBOX_HTTP_HOST: "0.0.0.0"
7574
# Same Aidbox settings
7675
BOX_SETTINGS_MODE: read-write
7776
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1

docs/examples/docker-compose.standalone.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ services:
2727
BOX_DB_DATABASE: mdmbox
2828
BOX_DB_USER: postgres
2929
BOX_DB_PASSWORD: postgres
30-
# HTTP
31-
MDMBOX_HTTP_HOST: "0.0.0.0"
3230
# Aidbox / libox settings
3331
BOX_SETTINGS_MODE: read-write
3432
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1

docs/getting-started.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In shared mode, use the tag that matches your Aidbox version.
2424

2525
In standalone mode, MDMbox manages its own database. You need two containers: PostgreSQL and MDMbox.
2626

27-
{% file src="examples/docker-compose.standalone.yml" %}
27+
{% file src="/assets/examples/docker-compose.standalone.yml" %}
2828
docker-compose.yml
2929
{% endfile %}
3030

@@ -42,7 +42,7 @@ When you already have an Aidbox instance, MDMbox can connect to the same Postgre
4242

4343
Pass the same `BOX_*` environment variables to MDMbox that your Aidbox uses:
4444

45-
{% file src="examples/docker-compose.shared.yml" %}
45+
{% file src="/assets/examples/docker-compose.shared.yml" %}
4646
docker-compose.yml
4747
{% endfile %}
4848

@@ -84,11 +84,6 @@ MDMbox maintains its own connection pool separate from the embedded FHIR engine.
8484
| Variable | Description | Default |
8585
| --- | --- | --- |
8686
| `MDMBOX_HTTP_PORT` | HTTP port | 3000 |
87-
| `MDMBOX_HTTP_HOST` | Bind address | 127.0.0.1 |
88-
89-
{% hint style="warning" %}
90-
When running in Docker, set `MDMBOX_HTTP_HOST` to `0.0.0.0`. The default `127.0.0.1` binds to loopback only and the service will be unreachable from outside the container.
91-
{% endhint %}
9287

9388
## Endpoints
9489

docs/matching-models.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ The example weights above are for demonstration. Production deployment requires
216216
- **Database indexes** are critical for performance with large datasets. Create indexes on columns used in blocks.
217217

218218
{% hint style="info" %}
219-
Professional tuning services are available. Contact [Health Samurai](https://www.health-samurai.io) for assistance with model calibration using machine learning and expert analysis.
219+
Professional tuning services are available. Contact [Health Samurai](https://www.health-samurai.io/company#contact-form) for assistance with model calibration using machine learning and expert analysis.
220220
{% endhint %}
221221

222222
## Next steps

0 commit comments

Comments
 (0)