-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
116 lines (112 loc) · 3.7 KB
/
docker-compose.yaml
File metadata and controls
116 lines (112 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
services:
aidbox-db:
image: docker.io/library/postgres:18
pull_policy: every_4w
ports:
- "5438:5432"
volumes:
- "aidbox_pg_data:/data"
environment:
PGDATA: /data
POSTGRES_USER: postgres
POSTGRES_PORT: "5432"
POSTGRES_DB: aidbox
POSTGRES_PASSWORD: postgres
POSTGRES_INITDB_ARGS: "--data-checksums"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
start_period: 10s
aidbox:
image: healthsamurai/aidboxone:edge
pull_policy: every_4w
depends_on:
aidbox-db:
condition: service_healthy
ports:
- 8888:8080
environment:
BOX_ADMIN_PASSWORD: admin
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1
BOX_DB_DATABASE: aidbox
BOX_DB_HOST: aidbox-db
BOX_DB_PASSWORD: postgres
BOX_DB_PORT: "5432"
BOX_DB_USER: postgres
BOX_FHIR_BUNDLE_EXECUTION_VALIDATION_MODE: limited
BOX_FHIR_COMPLIANT_MODE: true
BOX_FHIR_CORRECT_AIDBOX_FORMAT: true
BOX_FHIR_CREATEDAT_URL: https://aidbox.app/ex/createdAt
BOX_FHIR_JSON_SCHEMA_DATETIME_REGEX: "#{:fhir-datetime}"
BOX_FHIR_SEARCH_ENGINE: jsonpath
BOX_FHIR_SCHEMA_VALIDATION: true
BOX_FHIR_SEARCH_AUTHORIZE_INLINE_REQUESTS: true
BOX_FHIR_SEARCH_CHAIN_SUBSELECT: true
BOX_FHIR_SEARCH_COMPARISONS: true
BOX_FHIR_SEARCH_INCLUDE_CONFORMANT: true
BOX_FHIR_TERMINOLOGY_ENGINE: hybrid
BOX_FHIR_TERMINOLOGY_ENGINE_HYBRID_EXTERNAL_TX_SERVER: https://tx.health-samurai.io/fhir
BOX_FHIR_TERMINOLOGY_SERVICE_BASE_URL: https://tx.health-samurai.io/fhir
BOX_ROOT_CLIENT_ID: root
BOX_ROOT_CLIENT_SECRET: root
BOX_SECURITY_AUDIT_LOG_ENABLED: true
BOX_SECURITY_DEV_MODE: true
BOX_SETTINGS_MODE: read-write
BOX_WEB_BASE_URL: http://localhost:8888
BOX_WEB_PORT: 8080
healthcheck:
test: curl -f http://localhost:8080/health || exit 1
interval: 5s
timeout: 5s
retries: "90"
start_period: 30s
mdmbox:
image: healthsamurai/mdmbox:edge
pull_policy: every_4w
depends_on:
aidbox-db:
condition: service_healthy
ports:
- 3003:3000
environment:
# Database
BOX_DB_HOST: aidbox-db
BOX_DB_PORT: "5432"
BOX_DB_DATABASE: aidbox
BOX_DB_USER: postgres
BOX_DB_PASSWORD: postgres
# HTTP
MDMBOX_HTTP_HOST: "0.0.0.0"
# Aidbox / libox settings
BOX_SETTINGS_MODE: read-write
BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1
BOX_FHIR_BUNDLE_EXECUTION_VALIDATION_MODE: limited
BOX_FHIR_COMPLIANT_MODE: "true"
BOX_FHIR_CORRECT_AIDBOX_FORMAT: "true"
BOX_FHIR_CREATEDAT_URL: https://aidbox.app/ex/createdAt
BOX_FHIR_JSON_SCHEMA_DATETIME_REGEX: "#{:fhir-datetime}"
BOX_FHIR_SCHEMA_VALIDATION: "true"
BOX_FHIR_SEARCH_ENGINE: jsonpath
BOX_FHIR_SEARCH_AUTHORIZE_INLINE_REQUESTS: "true"
BOX_FHIR_SEARCH_CHAIN_SUBSELECT: "true"
BOX_FHIR_SEARCH_COMPARISONS: "true"
BOX_FHIR_SEARCH_INCLUDE_CONFORMANT: "true"
BOX_FHIR_TERMINOLOGY_SERVICE_BASE_URL: https://tx.health-samurai.io/fhir
BOX_FHIR_TERMINOLOGY_ENGINE: hybrid
BOX_FHIR_TERMINOLOGY_ENGINE_HYBRID_EXTERNAL_TX_SERVER: https://tx.health-samurai.io/fhir
BOX_SECURITY_DEV_MODE: "true"
BOX_SECURITY_AUDIT_LOG_ENABLED: "true"
BOX_ADMIN_ID: postgres
BOX_ADMIN_PASSWORD: postgres
BOX_ROOT_CLIENT_ID: root
BOX_ROOT_CLIENT_SECRET: root
healthcheck:
test: wget --quiet --tries=1 --spider http://localhost:3000/healthz || exit 1
interval: 5s
timeout: 5s
retries: 90
start_period: 60s
volumes:
aidbox_pg_data: {}