forked from ObolNetwork/charon-distributed-validator-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (63 loc) · 2.06 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
67
68
69
version: "3.8"
services:
# _
# ___| |__ __ _ _ __ ___ _ __
# / __| '_ \ / _` | '__/ _ \| '_ \
# | (__| | | | (_| | | | (_) | | | |
# \___|_| |_|\__,_|_| \___/|_| |_|
charon:
# Pegged charon version (update this for each release).
image: ghcr.io/obolnetwork/charon:v0.8.1
env_file: .env
networks: [dvnode]
volumes: [".charon:/opt/charon/.charon"]
# _ _ _ _
# __ ____ _| (_) __| | __ _| |_ ___ _ __
# \ \ / / _` | | |/ _` |/ _` | __/ _ \| '__/
# \ V / (_| | | | (_| | (_| | || (_) | |
# \_/ \__,_|_|_|\__,_|\__,_|\__\___/|_|
teku:
image: consensys/teku:${TEKU_VERSION}
networks: [dvnode]
depends_on: [charon]
restart: on-failure
ports: ["8008:8008"]
command: |
validator-client
--beacon-node-api-endpoint="http://charon:3600"
--config-file "/opt/charon/teku/teku-config.yaml"
--network ${ETH2_NETWORK}
volumes:
- ".charon/validator_keys:/opt/charon/validator_keys"
- "./teku:/opt/charon/teku"
# _ _ _
# _ __ ___ ___ _ __ (_) |_ ___ _ __(_)_ __ __ _
# | '_ ` _ \ / _ \| '_ \| | __/ _ \| '__| | '_ \ / _` |
# | | | | | | (_) | | | | | || (_) | | | | | | | (_| |
# |_| |_| |_|\___/|_| |_|_|\__\___/|_| |_|_| |_|\__, |
# |___/
prometheus:
image: prom/prometheus:latest
ports:
- "9090:9090"
networks: [dvnode]
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
networks: [dvnode]
depends_on: [prometheus]
volumes:
- ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml
- ./grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/datasource.yml
- ./grafana/grafana.ini:/etc/grafana/grafana.ini:ro
- ./grafana/dashboards:/etc/dashboards
jaeger:
image: jaegertracing/all-in-one:latest
networks: [dvnode]
ports:
- "16686:16686"
networks:
dvnode: