-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
70 lines (63 loc) · 1.92 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
version: "3.5"
services:
prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./prometheus/:/etc/prometheus/
- prometheus_data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention=200h'
- '--web.enable-lifecycle'
restart: unless-stopped
expose:
- 9090
ports:
- "9090:9090"
networks:
- metrics
pushgateway:
image: prom/pushgateway
container_name: pushgateway
restart: unless-stopped
expose:
- 9091
ports:
- "9091:9091"
networks:
- metrics
grafana:
image: grafana/grafana
container_name: grafana
restart: unless-stopped
expose:
- 3000
ports:
- "3000:3000"
networks:
- metrics
volumes:
- ./grafana/:/etc/grafana/provisioning/
nethermind:
image: nethermind/nethermind
container_name: nethermind
restart: unless-stopped
command: '--config xdai --Network.ActivePeersMaxCount 256 --HealthChecks.Enabled true --Metrics.Enabled true --Metrics.PushGatewayUrl http://localhost:9091/metrics --JsonRpc.Host 0.0.0.0 --JsonRpc.Enabled true'
# expose:
# - 8545
# ports:
# - "8545:8545"
network_mode: host
volumes:
- ./nethermind/nethermind_db/:/nethermind/nethermind_db/
- ./nethermind/keystore/:/nethermind/keystore/
- ./nethermind/logs/:/nethermind/logs/
networks:
metrics:
driver: bridge
volumes:
prometheus_data: {}