-
Notifications
You must be signed in to change notification settings - Fork 0
/
kthcloud.docker-compose.yml
47 lines (44 loc) · 1.21 KB
/
kthcloud.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
services:
hapi-fhir:
image: phillezi/fhir-test:latest
restart: on-failure
depends_on:
- hapi-fhir-db
environment:
SPRING_DATASOURCE_URL: "jdbc:postgresql://hapi-fhir-db2:5432/hapi"
SPRING_DATASOURCE_USERNAME: "admin"
SPRING_DATASOURCE_PASSWORD: "admin"
SPRING_DATASOURCE_DRIVERCLASSNAME: "org.postgresql.Driver"
SPRING_JPA_PROPERTIES_HIBERNATE_DIALECT: "ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect"
HAPI_FHIR_BULK_IMPORT_ENABLED: true
KTHCLOUD_CORES: 2
KTHCLOUD_RAM: 2
ports:
- "8080:8080"
hapi-fhir-db2:
image: postgres:15-alpine
restart: always
environment:
POSTGRES_DB: "hapi"
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "admin"
KTHCLOUD_CORES: 0.1
KTHCLOUD_RAM: 0.1
PORT: 5432
volumes:
- data:/var/lib/postgresql/data
hapingest:
image: ghcr.io/cm1007-fhir-data/go-hapingest:main
restart: on-failure
environment:
URL_BASE: http://hapingest
FHIR_SERVER_URL: http://hapi-fhir:8080/fhir
KTHCLOUD_CORES: 0.1
KTHCLOUD_RAM: 0.1
PORT: 8081
depends_on:
- hapi-fhir-test
volumes:
- ./fhir-data:/fhir-data
volumes:
data: