-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
46 lines (42 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
version: "3.8"
services:
# Alice is the Voting Authority
# Alice doesn't validate any blocks -> just runs a full node
alice:
container_name: alice
image: ghcr.io/meck93/provotum-mixnet:latest
command: --chain=local --name Alice --base-path /tmp/alice --port 30333 --ws-port 9944 --rpc-port 9933 --execution Native
network_mode: host
# network_mode: bridge
# ports: # HOST_PORT:CONTAINER_PORT
# - 9944:9944
# - 30333:30333
# - 9933:9933
# Bob is a Sealer (Voting) and a Proof-Of-Authority Validator
# Bob authors and validates blocks
bob:
container_name: bob
image: ghcr.io/meck93/provotum-mixnet:latest
command: --chain=local --bob --validator --base-path /tmp/bob --port 30334 --ws-port 9945 --rpc-port 9934 --execution Native
network_mode: host
# network_mode: bridge
# ports:
# - 9945:9945
# - 30334:30334
# - 9934:9934
# Charlie is a Sealer (Voting) and a Proof-Of-Authority Validator
# Charlie authors and validates blocks
charlie:
container_name: charlie
image: ghcr.io/meck93/provotum-mixnet:latest
command: --chain=local --charlie --validator --base-path /tmp/charlie --port 30335 --ws-port 9946 --rpc-port 9935 --execution Native
network_mode: host
# ports:
# - 9946:9946
# - 30335:30335
# - 9935:9935
# Randomizer is a simple web service to re-encrypt the voter's ballots
randomizer:
container_name: charlie
image: ghcr.io/meck93/provotum-mixnet-randomizer:latest
network_mode: host