-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
133 lines (133 loc) · 3.15 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
services:
grafana:
build:
context: ./images/grafana
volumes:
- "grafana:/var/lib/grafana"
restart: always
networks:
main:
loki:
build: ./images/loki
volumes:
- "loki:/var/lib/loki"
command: ["-config.file=/etc/loki/config.yaml"]
restart: always
networks:
main:
prometheus:
build: ./images/prometheus
volumes:
- "prometheus:/prometheus"
restart: always
networks:
main:
extra_hosts:
- "host.docker.internal:host-gateway"
promtail:
build: images/promtail
volumes:
- "/var/log/journal/:/var/log/journal/"
- "/run/log/journal/:/run/log/journal/"
- "/etc/machine-id:/etc/machine-id"
- "promtail:/var/lib/promtail"
command: ["-config.file=/etc/promtail/config.yml"]
restart: always
networks:
main:
depends_on:
- loki
# geth:
# build:
# context: images/geth
# volumes:
# - "geth:/home/somebody/.ethereum"
# - "authrpc_secret:/home/somebody/authrpc-secret"
# ports:
# - "30303:30303/tcp"
# - "30303:30303/udp"
# restart: always
# network_mode: host
# extra_hosts:
# - "host.docker.internal:host-gateway"
reth:
build:
context: images/reth
volumes:
- "reth:/home/somebody/.local/share/reth"
- "authrpc_secret:/home/somebody/authrpc-secret"
ports:
- "30303:30303/tcp"
- "30303:30303/udp"
restart: always
network_mode: host
extra_hosts:
- "host.docker.internal:host-gateway"
lighthouse:
build: images/lighthouse
volumes:
- "lighthouse:/home/somebody/.lighthouse"
- "authrpc_secret:/home/somebody/authrpc-secret"
- "./validator-pubkeys.txt:/home/somebody/validator-pubkeys.txt"
environment:
ETH1_HOST: host.docker.internal
BUILDER_URL: "http://host.docker.internal:18550"
restart: always
network_mode: host
extra_hosts:
- "host.docker.internal:host-gateway"
mev-boost:
build:
context: images/mev-boost
restart: always
ports:
- "172.17.0.1:18550:18550"
networks:
main:
extra_hosts:
- "host.docker.internal:host-gateway"
# prysm:
# build: images/prysm
# volumes:
# - "prysm:/home/somebody/.eth2"
# - "authrpc_secret:/home/somebody/authrpc-secret"
# - "./validator-indices.txt:/home/somebody/validator-indices.txt"
# environment:
# ETH1_HOST: host.docker.internal
# restart: always
# network_mode: host
# extra_hosts:
# - "host.docker.internal:host-gateway"
ssh:
build: images/ssh
expose:
- "5064"
- "8081"
ports:
- "2222:22"
volumes:
- "supervisor_backups:/home/somebody/supervisor-backups"
- "ssh_host_keys:/etc/ssh/host-keys"
- "./authorized_keys:/home/somebody/.ssh/authorized_keys"
restart: always
networks:
main:
aliases:
- validator-proxy
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
main:
driver: bridge
volumes:
grafana:
loki:
promtail:
geth:
reth:
prysm:
prometheus:
lighthouse:
authrpc_secret:
ssh_host_keys:
supervisor_backups: