-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
57 lines (57 loc) · 1.86 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3'
services:
waardepapieren-service:
volumes:
- ./waardepapieren-service/system-test/certs:/certs:ro
- ./waardepapieren-service/system-test/ephemeral-certs:/ephemeral-certs:ro
- ./waardepapieren-service/configuration/:/app/configuration:ro
build: waardepapieren-service/.
links:
- mock-nlx
ports:
- 3232:3232
- 3233:3233
environment:
- WAARDEPAPIEREN_CONFIG=/app/configuration/waardepapieren-config-compose.json
# Ignore self-signed ephemeral and NLX cert issues
- NODE_TLS_REJECT_UNAUTHORIZED=0
waardepapieren-verblijfplaatshistorie-service:
volumes:
- ./waardepapieren-service/system-test/certs:/certs:ro
- ./waardepapieren-service/system-test/ephemeral-certs:/ephemeral-certs:ro
- ./waardepapieren-service/configuration/:/app/configuration:ro
build: waardepapieren-service/.
links:
- mock-nlx
- waardepapieren-service
environment:
- WAARDEPAPIEREN_CONFIG=/app/configuration/waardepapieren-verblijfplaatshistorie-config-compose-travis.json
# Ignore self-signed ephemeral cert issues
- NODE_TLS_REJECT_UNAUTHORIZED=0
haarlem-frontend:
build:
context: haarlem-frontend/
args:
- CERTIFICATE_HOST=http://$CERT_HOST_IP:8880
- IPV8_HOST=http://$CERT_HOST_IP
depends_on:
- waardepapieren-service
ports:
- 443:443
- 8880:8880
healthcheck:
test: service nginx status
volumes:
- ./haarlem-frontend/nginx/certs:/etc/nginx/certs:ro
mock-nlx:
image: nlxio/outway:latest
volumes:
- ./mock-nlx/certs:/certs:ro
environment:
- DIRECTORY_INSPECTION_ADDRESS=directory-inspection-api.demo.nlx.io:443
- TLS_NLX_ROOT_CERT=/certs/root.crt
- TLS_ORG_CERT=/certs/org.crt
- TLS_ORG_KEY=/certs/org.key
- DISABLE_LOGDB=1
ports:
- 80:80