forked from trancemind/mina-docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
74 lines (70 loc) · 1.93 KB
/
docker-compose.override.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
#
# mina protocol docker-compose additional config for performance dashboard
# Check https://github.com/dsrvlabs/mina-performance-dashboard for more info
#
version: '3.9'
services:
prometheus:
profiles: ["dashboard"]
image: prom/prometheus
environment:
- SERVER_HOSTNAME=${SERVER_HOSTNAME}
volumes:
- ./etc/dashboard/prometheus-mina.yml:/etc/prometheus/prometheus.yml:ro
- ./etc/dashboard/prometheus:/prometheus:rw
ports:
- "${MINA_BIND:-127.0.0.1}:${PROMETHEUS_PORT:-9090}:${PROMETHEUS_PORT:-9090}"
restart: always
logging:
options:
max-size: ${MINA_LOG_MAX_SIZE:-4m}
max-file: ${MINA_LOG_MAX_FILE:-10}
sysctls:
- net.ipv6.conf.all.disable_ipv6=${SYSCTL_IPV6_DISABLED:-0}
networks:
m_net:
aliases:
- prometheus
- prometheus.local
node_exporter:
profiles: ["dashboard"]
image: quay.io/prometheus/node-exporter:latest
command:
- '--path.rootfs=/host'
volumes:
- '/:/host:ro,rslave'
pid: host
restart: unless-stopped
logging:
options:
max-size: ${MINA_LOG_MAX_SIZE:-4m}
max-file: ${MINA_LOG_MAX_FILE:-10}
sysctls:
- net.ipv6.conf.all.disable_ipv6=${SYSCTL_IPV6_DISABLED:-0}
networks:
m_net:
aliases:
- n-exporter
- n-exporter.local
grafana:
profiles: ["dashboard"]
image: grafana/grafana
environment:
- GF_INSTALL_PLUGINS=fifemon-graphql-datasource
- SERVER_HOSTNAME=${SERVER_HOSTNAME}
volumes:
- ./db/grafana:/var/lib/grafana:rw
ports:
- "${MINA_BIND:-0.0.0.0}:${GRAFANA_PORT:-3000}:3000"
restart: always
logging:
options:
max-size: ${MINA_LOG_MAX_SIZE:-4m}
max-file: ${MINA_LOG_MAX_FILE:-10}
sysctls:
- net.ipv6.conf.all.disable_ipv6=${SYSCTL_IPV6_DISABLED:-0}
networks:
m_net:
aliases:
- grafana
- grafana.local