-
Notifications
You must be signed in to change notification settings - Fork 15
/
config.edn
81 lines (70 loc) · 2.36 KB
/
config.edn
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
{ns config
import #{aidbox
aidbox.config
hl7-fhir-r5-core}
db-config
{:zen/tags #{aidbox.config/db}
:pool {:connection-timeout 30000
:idle-timeout 1000
:minimum-idle 2
:maximum-pool-size 30
:connection-init-sql "SELECT 1"}
:database #env PGDATABASE
:host #env PGHOST
:port #env PGPORT
:user #env PGUSER
:password #env PGPASSWORD}
web-config
{:zen/tags #{aidbox.config/web}
:base-url #env AIDBOX_BASE_URL
:port #env-integer AIDBOX_PORT
:thread 8
:max-body 10000000
:request-save-raw-body false}
search-config
{:zen/tags #{aidbox.config/search}
:zen-fhir :enable
:fhir-comparisons true
:default-params {:timeout 30
:total "none"
:count 100}
:chain {:subselect true}}
compatibility-config
{:zen/tags #{aidbox.config/compatibility}
:validation {:json-schema {:regex #{:fhir-datetime}}}
:auth {:pkce {:code-challenge {:s256 {:conformant true}}}}}
base-config
{:zen/tags #{aidbox.config/config}
:web web-config
:db db-config
:search search-config
:compatibility compatibility-config
:aidbox-license #env AIDBOX_LICENSE
:fhir-version "5.0.0"
:compliant-mode-enabled? true
:override-createdat-url "https://fhir.aidbox.app/extension/createdat"
:correct-aidbox-format true
:dev-mode #env-boolean AIDBOX_DEV_MODE
:stdout-pretty true
:disable-legacy-seed true}
admin-user-seed
{:zen/tags #{aidbox/service}
:engine aidbox/seed-v2
:resources
{:User {:admin
{:password #env AIDBOX_ADMIN_PASSWORD}}
:AccessPolicy {:allow-admin-user
{:engine "allow"
:link [{:resourceType "User" :id "admin"}]}}}}
root-client-seed
{:zen/tags #{aidbox/service}
:engine aidbox/seed-v2
:resources
{:Client {:root
{:name "Root client"
:secret #env AIDBOX_CLIENT_SECRET
:first_party true
:grant_types ["basic"]}}
:AccessPolicy {:allow-root-client
{:engine "allow"
:link [{:resourceType "Client" :id "root"}]}}}}}}