forked from iHRIS/iHRIS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
86 lines (73 loc) · 2.09 KB
/
docker-compose-dev.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
74
75
76
77
78
79
80
81
82
83
version: '4'
services:
fhir:
container_name: fhir
image: hapiproject/hapi:v6.8.0
ports:
- "8080:8080"
environment:
profiles.active: r4
spring.datasource.url: 'jdbc:postgresql://db:5432/hapi'
spring.datasource.username: admin
spring.datasource.password: admin
spring.datasource.driverClassName: org.postgresql.Driver
spring.jpa.properties.hibernate.search.enabled: 'true'
spring.jpa.properties.hibernate.search.backend.type: lucene
spring.jpa.properties.hibernate.search.backend.directory.type: local-filesystem
spring.jpa.properties.hibernate.search.backend.directory.root: target/lucenefiles
spring.jpa.properties.hibernate.search.backend.lucene_version: lucene_current
spring.jpa.properties.hibernate.dialect: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect
hapi.fhir.tester.home.server_address: "http://localhost:8080/hapi/fhir"
hapi.fhir.enable_index_missing_fields: 'true'
volumes:
- hapi-data:/data/hapi
depends_on:
- db
db:
image: postgres:bullseye
restart: always
environment:
POSTGRES_PASSWORD: admin
POSTGRES_USER: admin
POSTGRES_DB: hapi
# not needed for networking between containers but here for troubleshooting
ports:
- "5432:5432"
es:
container_name: es
image: elasticsearch:7.17.6
environment:
node.name: es01
discovery.type: single-node
bootstrap.memory_lock: "true"
ES_JAVA_OPTS: -Xms512m -Xmx512m
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- data01:/usr/share/elasticsearch/data
ports:
- 9200:9200
kibana:
container_name: kibana
image: kibana:7.17.6
ports:
- 5601:5601
environment:
ELASTICSEARCH_URL: http://es:9200
ELASTICSEARCH_HOSTS: http://es:9200
redis:
image: redis:alpine
ports:
- 6379:6379
command: ["redis-server", "--appendonly", "yes"]
hostname: redis
volumes:
- redis-data:/data
volumes:
redis-data:
data01:
# driver: local
hapi-data:
# external: true