-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.hapifhir.yml
70 lines (62 loc) · 1.43 KB
/
docker-compose.hapifhir.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
version: "2"
services:
wiremock:
image: rodolpheche/wiremock:${WIREMOCK_IMAGE_VERSION}
ports:
- 8080
hapifhir:
image: openlmis/hapifhir:${OL_HAPIFHIR_VERSION}
mem_limit: 1024m
env_file: settings.env
environment:
JAVA_OPTS: '-Xmx1024m -Dlogging.config=/logback.xml'
volumes:
- './logback.xml:/logback.xml'
depends_on: [log]
links:
- wiremock
referencedata:
image: openlmis/referencedata:${OL_REFERENCEDATA_VERSION}
env_file: settings.env
mem_limit: 1536m
environment:
JAVA_OPTS: '-Xmx1536m -Dlogging.config=/logback.xml'
spring_profiles_active: demo-data, refresh-db
fhirClient.enabled: "true"
volumes:
- './logback.xml:/logback.xml'
depends_on: [log]
contract_tests:
mem_limit: 768m
image: openlmis/dev:${DOCKER_DEV_IMAGE_VERSION}
environment:
GRADLE_OPTS: '-Xmx256m'
env_file: settings.env
volumes:
- '.:/app'
- 'gradlecache:/gradle'
links:
- db
- redis
- log
- nginx
- consul
- auth
- referencedata
- hapifhir
- wiremock
entrypoint:
- 'gradle'
- 'clean'
- 'waitFor'
- '-Pcontainers=
${BASE_URL}/auth,
${BASE_URL}/referencedata,
${BASE_URL}/hapifhir'
- 'cucumber'
- '-Ptags=@LocationTests or @SubscriptionTests'
- '--stacktrace'
- '--no-daemon'
volumes:
gradlecache:
external: false