-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
82 lines (79 loc) · 1.99 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
services:
reg-pilot-api:
build:
context: .
dockerfile: ./images/reg-pilot-api.dockerfile
image: gleif/reg-pilot-api:dev
ports:
- 8000:8000
# command: python src/regps/app/fastapi_app.py
volumes:
- ./:/usr/src/app/regps
environment:
- ENABLE_CORS=true
- VERIFIER_AUTHORIZATIONS=http://vlei-verifier:7676/authorizations/
- VERIFIER_PRESENTATIONS=http://vlei-verifier:7676/presentations/
- FILER_REPORTS=http://reg-pilot-filer:7878/reports/
- VERIFIER_REQUESTS=http://vlei-verifier:7676/request/verify/
- VERIFIER_ADD_ROT=http://vlei-verifier:7676/root_of_trust/
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:8000/docs
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
# depends_on:
# - vlei-verifier
vlei-verifier:
image: gleif/vlei-verifier:dev
container_name: vlei-verifier
hostname: vlei-verifier
# depends_on:
# - vlei
# - witnesses
ports:
- 7676:7676
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:7676/health
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
reg-pilot-filer:
image: gleif/reg-pilot-filer:dev
container_name: reg-pilot-filer
hostname: reg-pilot-filer
ports:
- 7878:7878
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:7878/health
interval: 2s
timeout: 3s
retries: 5
start_period: 2s
deps:
image: alpine
command: ['echo', 'Dependencies running']
depends_on:
reg-pilot-api:
condition: service_healthy
# vlei-server:
# condition: service_healthy
# vlei-verifier:
# condition: service_healthy
# reg-pilot-filer:
# condition: service_healthy
# witness-demo:
# condition: service_healthy