-
Notifications
You must be signed in to change notification settings - Fork 4
/
pre-built.yml
148 lines (139 loc) · 4.38 KB
/
pre-built.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
version: "3.7"
services:
voting_authority:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/voting_authority:v1
environment:
NODE_ENV: production
VOTING_AUTH_BACKEND_PORT: 4001
VOTING_AUTH_BACKEND_IP: 172.1.1.41
PARITY_NODE_PORT: 7011
PARITY_NODE_IP: 172.1.1.171
REACT_APP_ACCESS_PROVIDER_PORT: 4002
REACT_APP_ACCESS_PROVIDER_IP: 172.1.1.42
REACT_APP_IDENTITY_PROVIDER_PORT: 4003
REACT_APP_IDENTITY_PROVIDER_IP: 172.1.1.43
REACT_APP_VOTING_AUTH_BACKEND_PORT: 4001
REACT_APP_VOTING_AUTH_BACKEND_IP: 172.1.1.41
ports:
- 4001:4001
networks:
e-voting:
ipv4_address: 172.1.1.41
command: node ./backend/dist/src/server.js
sealer_1:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/voting_sealer_1:v1
environment:
NODE_ENV: production
VOTING_AUTH_BACKEND_PORT: 4001
VOTING_AUTH_BACKEND_IP: 172.1.1.41
SEALER_BACKEND_PORT: 4011
SEALER_BACKEND_IP: 172.1.1.141
PARITY_NODE_PORT: 7011
PARITY_NODE_IP: 172.1.1.171
REACT_APP_VOTING_AUTH_BACKEND_PORT: 4001
REACT_APP_VOTING_AUTH_BACKEND_IP: 172.1.1.41
REACT_APP_SEALER_BACKEND_PORT: 4011
REACT_APP_SEALER_BACKEND_IP: 172.1.1.141
ports:
- 4011:4011
networks:
e-voting:
ipv4_address: 172.1.1.141
command: node ./backend/dist/server.js
sealer_2:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/voting_sealer_2:v1
environment:
NODE_ENV: production
VOTING_AUTH_BACKEND_PORT: 4001
VOTING_AUTH_BACKEND_IP: 172.1.1.41
SEALER_BACKEND_PORT: 4012
SEALER_BACKEND_IP: 172.1.1.142
PARITY_NODE_PORT: 7012
PARITY_NODE_IP: 172.1.1.172
REACT_APP_VOTING_AUTH_BACKEND_PORT: 4001
REACT_APP_VOTING_AUTH_BACKEND_IP: 172.1.1.41
REACT_APP_SEALER_BACKEND_PORT: 4012
REACT_APP_SEALER_BACKEND_IP: 172.1.1.142
ports:
- 4012:4012
networks:
e-voting:
ipv4_address: 172.1.1.142
command: node ./backend/dist/server.js
sealer_3:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/voting_sealer_3:v1
environment:
NODE_ENV: production
VOTING_AUTH_BACKEND_PORT: 4001
VOTING_AUTH_BACKEND_IP: 172.1.1.41
SEALER_BACKEND_PORT: 4013
SEALER_BACKEND_IP: 172.1.1.143
PARITY_NODE_PORT: 7013
PARITY_NODE_IP: 172.1.1.173
REACT_APP_VOTING_AUTH_BACKEND_PORT: 4001
REACT_APP_VOTING_AUTH_BACKEND_IP: 172.1.1.41
REACT_APP_SEALER_BACKEND_PORT: 4013
REACT_APP_SEALER_BACKEND_IP: 172.1.1.143
ports:
- 4013:4013
networks:
e-voting:
ipv4_address: 172.1.1.143
command: node ./backend/dist/server.js
access_provider:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/access_provider:v2
environment:
ACCESS_PROVIDER_BACKEND_PORT: 4002
ACCESS_PROVIDER_BACKEND_IP: 172.1.1.42
VOTING_AUTH_BACKEND_PORT: 4001
VOTING_AUTH_BACKEND_IP: 172.1.1.41
PARITY_NODE_PORT: 7011
PARITY_NODE_IP: 172.1.1.171
NODE_ENV: production
ports:
- 4002:4002
networks:
e-voting:
ipv4_address: 172.1.1.42
command: node dist/server.js
identity_provider:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/identity_provider:v2
environment:
IDENTITY_PROVIDER_BACKEND_PORT: 4003
IDENTITY_PROVIDER_BACKEND_IP: 172.1.1.43
ACCESS_PROVIDER_BACKEND_PORT: 4002
ACCESS_PROVIDER_BACKEND_IP: 172.1.1.42
NODE_ENV: production
ports:
- 4003:4003
networks:
e-voting:
ipv4_address: 172.1.1.43
command: node dist/server.js
voter:
image: docker.pkg.github.com/alexscheitlin/master-project-evoting/voter_frontend:v2
environment:
NODE_ENV: production
REACT_APP_IDENTITY_PROVIDER_PORT: 4003
REACT_APP_IDENTITY_PROVIDER_IP: 172.1.1.43
REACT_APP_ACCESS_PROVIDER_PORT: 4002
REACT_APP_ACCESS_PROVIDER_IP: 172.1.1.42
PORT: 3000
ports:
- 3000:3000
networks:
e-voting:
ipv4_address: 172.1.1.30
command: "serve -s build -l tcp://172.1.1.30:3000"
ethstats:
image: alethio/ethereum-lite-explorer
environment:
- APP_NODE_URL=http://172.1.1.171:7011
ports:
- 6001:80
networks:
e-voting:
ipv4_address: 172.1.1.181
networks:
e-voting:
external: true