-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
73 lines (68 loc) · 1.97 KB
/
docker-compose.yml
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
version: "3.3"
services:
nats:
image: nats:${NATS_TAG}
ports:
- "4222:4222"
db:
image: "postgres:${POSTGRES_TAG}"
command:
- -c
- max_replication_slots=10
- -c
- wal_level=logical
volumes:
- db-data:/var/lib/postgresql/data
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
#- ./create-db.sql:/docker-entrypoint-initdb.d/create-db.sql
environment:
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
openehr:
image: "ehrbase/ehrbase@sha256:${EHRBASE_TAG}"
restart: unless-stopped
environment:
SPRING_DATASOURCE_URL: "jdbc:postgresql://${POSTGRES_PRIVATE_HOST}:${POSTGRES_PORT}/ehrbase"
SPRING_DATASOURCE_USERNAME: ehrbase
SPRING_DATASOURCE_PASSWORD: ehrbase
SPRING_DATASOURCE_MAX_ACTIVE: 8
SERVER_AQLCONFIG_USEJSQUERY: "false"
SERVER_NODENAME: "localhost"
WEB_CORS_ALLOWEDORIGINPATTERNS: "*"
WEB_CORS_ALLOWEDMETHODS: "GET,PUT,DELETE,POST,OPTIONS"
WEB_CORS_ALLOWCREDENTIALS: "true"
SECURITY_AUTHTYPE: NONE
ABAC_ENABLED: "false"
ports:
- "8081:8080"
fhir:
image: "tornadoalert/fhir:${FHIR_TAG}"
environment:
spring.datasource.url: "jdbc:postgresql://${POSTGRES_PRIVATE_HOST}:${POSTGRES_PORT}/hapi"
spring.datasource.username: hapi
spring.datasource.password: hapi
spring.datasource.maxActive: 8
spring.datasource.driverClassName: org.postgresql.Driver
hapi.fhir.subscription.resthook_enabled: "true"
hapi.fhir.subscription.websocket_enabled: "true"
hapi.fhir.client_id_strategy: ANY
hapi.fhir.nats: "nats://nats:4222"
ports:
- "8091:8080"
caddy:
image: caddy:${CADDY_TAG}
ports:
- "2019:2019"
- "81:80"
- "44:443"
environment:
- DOMAIN_NAME=${DOMAIN_NAME:-localhost}
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
volumes:
db-data:
caddy_data:
caddy_config: