-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.e2e.yml
83 lines (77 loc) · 1.71 KB
/
docker-compose.e2e.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
# Copyright 2020 ChainSafe Systems
# SPDX-License-Identifier: LGPL-3.0-only
version: '3'
services:
celo1:
image: "chainsafe/chainbridge-celo-blockchain:0.1.4"
networks:
- celo
container_name: celo1
ports:
- "8545:8545"
- "8546:8546"
environment:
- NODEKEY=98ab333347a12cef869f92b3de44085f9e44891e513bcf1d76a99eecbcdd5e17
- DATADIR=celo-dump1
- NETWORKID=333
- VALIDATOR=0xf4314cb9046bece6aa54bb9533155434d0c76909
evm1:
build:
context: ./e2e/geth-build
dockerfile: Dockerfile
container_name: evm1
networks:
- evm
ports:
- "8845:8545"
- "8846:8546"
environment:
- NODEKEY=98ab333347a12cef869f92b3de44085f9e44891e513bcf1d76a99eecbcdd5e17
- NETWORKID=420
- MINE=true
entrypoint: "/root/entrypoint.sh"
relayer1:
container_name: relayer1
build:
context: .
dockerfile: Dockerfile
command: run --config /cfg/evm_celo-config.json --testkey alice --fresh
depends_on:
- evm1
- celo1
networks:
- evm
- celo
volumes:
- ./example/cfg:/cfg
relayer2:
container_name: relayer2
build:
context: .
dockerfile: Dockerfile
command: run --config /cfg/evm_celo-config.json --testkey bob --fresh
depends_on:
- evm1
- celo1
networks:
- evm
- celo
volumes:
- ./example/cfg:/cfg
relayer3:
container_name: relayer3
build:
context: .
dockerfile: Dockerfile
command: run --config /cfg/evm_celo-config.json --testkey charlie --fresh
depends_on:
- evm1
- celo1
networks:
- evm
- celo
volumes:
- ./example/cfg:/cfg
networks:
evm:
celo: