-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
68 lines (62 loc) · 1.48 KB
/
Copy pathdocker-compose.yml
File metadata and controls
68 lines (62 loc) · 1.48 KB
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
services:
ethereum-node:
image: ghcr.io/foundry-rs/foundry:latest
container_name: local-evm-blockchain
command: "anvil --host 0.0.0.0"
ports:
- "8545:8545"
restart: always
explorer:
image: otterscan/otterscan:latest
container_name: local-block-explorer
ports:
- "8080:80"
depends_on:
- ethereum-node
restart: always
prometheus:
image: prom/prometheus:latest
container_name: prometheus-metrics
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
restart: always
grafana:
image: grafana/grafana:latest
container_name: grafana-dashboard
ports:
- "3000:3000"
depends_on:
- prometheus
restart: always
cadvisor:
image: gcr.io/cadvisor/cadvisor:latest
container_name: cadvisor
ports:
- "8081:8080"
volumes:
- /:/rootfs:ro
- /var/run:/var/run:ro
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
- /dev/disk/:/dev/disk:ro
restart: always
rpc-gateway:
image: nginx:latest
container_name: smart-rpc-proxy
ports:
- "8888:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
restart: always
nginx-exporter:
image: nginx/nginx-prometheus-exporter:latest
container_name: nginx-metrics-exporter
command:
- "-nginx.scrape-uri=http://rpc-gateway:8080/metrics"
ports:
- "9113:9113"
depends_on:
- rpc-gateway
restart: always