forked from applied-crypto/heimdall
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
113 lines (105 loc) · 2.29 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
services:
heimdall-ca: &heimdall
container_name: heimdall-ca
build: .
ports:
- 8081:8080
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080" ]
interval: 10s
timeout: 50s
retries: 3
start_period: 10s
# volumes:
# - logs-ca:/app/execution
# - ./circom:/app/circom
# working_dir: /app/circom
# command: bash -c "npm i && bash"
# tty: true
networks:
- heimdall-network
heimdall-issuer:
<<: *heimdall
container_name: heimdall-issuer
ports:
- 8082:8080
# volumes:
# - logs-issuer:/app/execution
networks:
- heimdall-network
heimdall-holder:
<<: *heimdall
container_name: heimdall-holder
ports:
- 8083:8080
# volumes:
# - logs-holder:/app/execution
networks:
- heimdall-network
heimdall-verifier:
<<: *heimdall
container_name: heimdall-verifier
ports:
- 8084:8080
# volumes:
# - logs-verifier:/app/execution
networks:
- heimdall-network
heimdall-verifier-delivery:
<<: *heimdall
container_name: heimdall-verifier-delivery
ports:
- 8085:8080
networks:
- heimdall-network
bootstrap:
container_name: bootstrap
build:
dockerfile: bootstrap.Dockerfile
env_file: .env
depends_on:
heimdall-ca:
condition: service_healthy
heimdall-issuer:
condition: service_healthy
heimdall-holder:
condition: service_healthy
heimdall-verifier:
condition: service_healthy
# volumes:
# - logs-bootstrap:/app/execution
networks:
- heimdall-network
#volumes:
# logs-ca: &default-volume
# driver: local
# driver_opts: &default-opts
# type: bind
# device: ${PWD}/logs/ca
#
# logs-issuer:
# <<: *default-volume
# driver_opts:
# <<: *default-opts
# device: ${PWD}/logs/issuer
#
# logs-holder:
# <<: *default-volume
# driver_opts:
# <<: *default-opts
# device: ${PWD}/logs/holder
#
# logs-verifier:
# <<: *default-volume
# driver_opts:
# <<: *default-opts
# device: ${PWD}/logs/verifier
#
# logs-bootstrap:
# <<: *default-volume
# driver_opts:
# <<: *default-opts
# device: ${PWD}/logs/bootstrap
networks:
heimdall-network:
external: true