-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
61 lines (59 loc) · 1.52 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
58
59
60
61
version: '3.3'
services:
irma:
image: ghcr.io/privacybydesign/irma:v0.15.0
expose: [8089]
environment:
TZ: Europe/Amsterdam
networks:
- default
ports:
- "8089:8089"
volumes:
- type: bind
source: ./dev-keys/irma-test.pem
target: /app/config/irma-test.pem
- type: bind
source: ./dev-keys/jwt.pub.pem
target: /app/config/sidn-irma-saml-bridge.pub.pem
command:
- "server"
- "--verbose"
- "--schemes-update=0"
- "--port=8089"
- "--jwt-privkey-file=/app/config/irma-test.pem"
- "--url=http://192.168.0.2"
- "--no-email"
- "--no-tls"
- "--no-auth=0"
- "--requestors={\"sidn-irma-saml-bridge\": {\"auth_method\": \"publickey\", \"key_file\": \"/app/config/sidn-irma-saml-bridge.pub.pem\", \"host_perms\": [\"*\"]}}"
# Note: we put nginx in between to handle CORS.
nginx:
image: nginx:1.19
depends_on:
- irma
volumes:
- "./docker/nginx.conf:/etc/nginx/nginx.conf:ro"
ports:
- "8081:80"
networks:
- default
server:
build: .
image: sidn-irma-saml-bridge
environment:
- LOGGING_FILE_PATH=/sidn-irma-saml-bridge/logs
volumes:
- type: volume
target: /sidn-irma-saml-bridge/logs
- type: bind
source: ./config.test.json
target: /root/config.json
- type: bind
source: ./dev-keys
target: /root/dev-keys
ports:
- "8080:8080"
networks:
- default
working_dir: /root