-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
59 lines (58 loc) · 1.55 KB
/
docker-compose.yaml
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
services:
nuts-node1:
image: nutsfoundation/nuts-node:6.0.0-rc.6
# user: when running on linux, this must be set to the host user if the datadir is mounted ($USER:$USER or $UID:$UID depending on what env variables exist)
ports:
- 5551:5551
- 1323:1323
volumes:
- "./config/node1:/nuts/config:ro"
- "./data/node1:/nuts/data:rw"
fhir:
image: "hapiproject/hapi:latest"
ports:
- "8090:8080"
volumes:
- ./data/hapi:/data/hapi
# - ./config/fhir/application.yaml:/data/hapi/application.yaml
environment:
SPRING_CONFIG_LOCATION: "file:///data/hapi/application.yaml"
opa:
image: openpolicyagent/opa
ports:
- "8181:8181"
platform: linux/amd64
command:
- "run"
- "--server"
- "--log-format=json-pretty"
- "--log-level=info"
- "--set=decision_logs.console=true"
- "--set=services.nginx.url=http://bundle_server"
- "--set=bundles.nginx.service=nginx"
- "--set=bundles.nginx.resource=bundles/bundle.tar.gz"
depends_on:
- bundle_server
pep:
image: nginx:alpine
ports:
- 8081:8080
volumes:
- ./config/pep/nginx.conf:/etc/nginx/nginx.conf
- ./config/pep/conf.d:/etc/nginx/conf.d
depends_on:
- opa
- nuts-node1
- resource_server
resource_server:
image: nginx:alpine
ports:
- 8080:80
volumes:
- ./config/pep/html:/usr/share/nginx/html
bundle_server:
image: nginx:alpine
ports:
- 8888:80
volumes:
- ./bundles:/usr/share/nginx/html/bundles