This repository has been archived by the owner on Feb 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (60 loc) · 1.88 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
63
64
65
66
version: '3.7'
services:
beacon_node:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:latest
restart: always
ports:
- "4000:4000"
- "13000:13000"
- "12000:12000/udp"
volumes:
- $HOME/.eth2/beaconchaindata:/data
command: --datadir=/data
generate_validator_keys:
image: gcr.io/prysmaticlabs/prysm/validator:latest
container_name: generate_validator_keys
environment:
- PASSWORD=${PASSWORD}
volumes:
- $HOME/.eth2validators:/data
command: accounts create --keystore-path=/data --password=$PASSWORD
view_public_key:
image: gcr.io/prysmaticlabs/prysm/validator:latest
container_name: view_public_key
environment:
- PASSWORD=${PASSWORD}
volumes:
- $HOME/.eth2validators:/data
command: accounts keys --keystore-path=/data --password=$PASSWORD
validator_node:
image: gcr.io/prysmaticlabs/prysm/validator:latest
restart: always
container_name: validator
depends_on:
- beacon_node
links:
- beacon_node
environment:
- PASSWORD=${PASSWORD}
volumes:
- $HOME/.eth2validators:/data
command: --datadir=/data --keystore-path=/data --beacon-rpc-provider=beacon_node:4000 --password=$PASSWORD
eth2stats:
image: alethio/eth2stats-client:latest
restart: always
container_name: eth2stats
depends_on:
- beacon_node
- validator_node
links:
- beacon_node
volumes:
- $HOME/.eth2stats/data:/data
command: run --eth2stats.node-name="my node" --data.folder="/data" --eth2stats.addr="grpc.topaz.eth2stats.io:443" --eth2stats.tls=true --beacon.type="prysm" --beacon.addr="beacon_node:4000" --beacon.metrics-addr="http://beacon_node:8080/metrics"
validator:
image: gcr.io/prysmaticlabs/prysm/beacon-chain:latest
command: sh -c 'echo start'
depends_on:
- beacon_node
- validator_node
- eth2stats