forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprysm-web.yml
68 lines (68 loc) · 1.47 KB
/
prysm-web.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
version: "3.4"
services:
beacon:
ports:
- 3500:3500/tcp
- 8080:8080/tcp
command:
- --monitoring-host
- 0.0.0.0
- --grpc-gateway-host
- 0.0.0.0
- --grpc-gateway-corsdomain
- http://127.0.0.1:7500
- --grpc-gateway-port
- "3500"
validator:
ports:
- 7500:7500/tcp
- 8081:8081/tcp
command:
- --monitoring-host
- 0.0.0.0
- --web
- --grpc-gateway-host
- 0.0.0.0
- --grpc-gateway-corsdomain
- http://127.0.0.1:7500
- --grpc-gateway-port
- "7500"
prometheus:
restart: "${RESTART}"
build:
context: ./prometheus
image: prometheus
volumes:
- prom-data:/prometheus
environment:
- CLIENT=${COMPOSE_FILE}
expose:
- 9090/tcp
entrypoint: choose-config.sh
command: ["/bin/prometheus", "--storage.tsdb.path=/prometheus", "--web.console.libraries=/usr/share/prometheus/console_libraries", "--web.console.templates=/usr/share/prometheus/consoles"]
depends_on:
- beacon
- validator
- node-exporter
node-exporter:
restart: "${RESTART}"
image: prom/node-exporter
expose:
- 9100/tcp
grafana:
restart: "${RESTART}"
build:
context: ./grafana
image: grafana
volumes:
- grafana-data:/var/lib/grafana
depends_on:
- prometheus
ports:
- ${GRAFANA_PORT}:3000/tcp
eth2:
depends_on:
- grafana
volumes:
grafana-data:
prom-data: