-
Notifications
You must be signed in to change notification settings - Fork 10
/
lighthouse-testnet.yml
44 lines (40 loc) · 1.53 KB
/
lighthouse-testnet.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
version: "3.0"
####
# https://github.com/sigp/lighthouse/tree/master/scripts/local_testnet
services:
beacon_node:
image: "${DOCKER_LIGHTHOUSE_IMAGE:-sigp/lighthouse:v2.0.0}"
container_name: "eth2_testnet_beacon_lighthouse"
volumes:
- ./testnet/lighthouse/data:/root/testnet
- ./testnet/lighthouse/data/beacon:/root/beacon
- ./testnet/lighthouse:/root/scripts
network_mode: "host"
env_file: ./testnet/lighthouse/vars.env
command: sh /root/scripts/start-beacon-node.sh
second_beacon_node:
image: "${DOCKER_LIGHTHOUSE_IMAGE:-sigp/lighthouse:v2.0.0}"
container_name: "eth2_testnet_second_beacon_lighthouse"
volumes:
- ./testnet/lighthouse/data:/root/testnet
- ./testnet/lighthouse/data/beacon:/root/beacon
- ./testnet/lighthouse/data/beacon2:/root/beacon2
- ./testnet/lighthouse:/root/scripts
network_mode: "host"
depends_on:
- beacon_node
env_file: ./testnet/lighthouse/vars.env
command: sh /root/scripts/start-second-beacon-node.sh
validator_client:
image: "${DOCKER_LIGHTHOUSE_IMAGE:-sigp/lighthouse:v2.0.0}"
container_name: "eth2_testnet_validator_lighthouse"
network_mode: "host"
volumes:
- ./testnet/lighthouse/data:/root/testnet
- ./testnet/lighthouse/data/validators:/root/validators
- ./testnet/lighthouse/data/secrets:/root/secrets
- ./testnet/lighthouse:/root/scripts
depends_on:
- second_beacon_node
env_file: ./testnet/lighthouse/vars.env
command: sh /root/scripts/start-validator-client.sh