-
Notifications
You must be signed in to change notification settings - Fork 49
/
docker-compose.yml
37 lines (37 loc) · 1.03 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
version: "2.4"
services:
postgres:
image: "postgres"
ports:
- 5432:5432
environment:
POSTGRES_HOST_AUTH_METHOD: trust
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5
ruler:
image: "alphora/cqf-ruler:0.7.1"
depends_on:
- postgres
ports:
- "8080:8080"
healthcheck:
test:
[
"CMD",
"curl",
"-f",
"http://localhost:8080/fhir/metadata"
]
interval: 90s
timeout: 5s
retries: 3
start_period: 90s
environment:
- "spring.datasource.url=jdbc:postgresql://postgres:5432/postgres"
- "spring.datasource.username=postgres"
- "spring.datasource.password="
- "spring.datasource.driverClassName=org.postgresql.Driver"
- "spring.jpa.properties.hibernate.dialect=ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect"