This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
forked from eth-clients/multinet
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
62 lines (57 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.4'
services:
nimbus:
hostname: nimbus-0
build:
context: ./
target: multinet-nimbus
networks:
mesh:
ipv4_address: 172.20.0.10
environment:
LOG_LEVEL: "INFO;TRACE:switch"
volumes:
# editable source here
- nimbus-source:/root/multinet/repo/nimbus-eth2
- multinet-deposits:/root/multinet/repo/deposits
- multinet-data:/root/multinet/repo/data
command: bash -c "./make_genesis.sh && ./run_nimbus.sh"
lighthouse:
hostname: lighthouse-0
networks:
- mesh
build:
context: ./
target: multinet-lighthouse
# environment:
# - RUST_LOG=trace,libp2p=trace,multistream=trace,gossipsub=trace
volumes:
# editable source here
- lighthouse-source:/root/multinet/repo/lighthouse
- multinet-deposits:/root/multinet/repo/deposits
- multinet-data:/root/multinet/repo/data
command: bash -c "./wait_for.sh -t 0 nimbus:50000 -- ./run_lighthouse.sh"
prysm:
hostname: prysm-0
networks:
- mesh
build:
context: ./
target: multinet-prysm
volumes:
# editable source here
- prysm-source:/root/multinet/repo/prysm
- multinet-deposits:/root/multinet/repo/deposits
- multinet-data:/root/multinet/repo/data
command: bash -c "./wait_for.sh -t 0 nimbus:50000 -- ./run_prysm.sh"
volumes:
multinet-data:
multinet-deposits:
nimbus-source:
lighthouse-source:
prysm-source:
networks:
mesh:
ipam:
config:
- subnet: 172.20.0.0/24