|
|
@ -17,11 +17,11 @@ services:
|
|
|
|
command:
|
|
|
|
command:
|
|
|
|
- --config.file=/etc/prometheus/config.yaml
|
|
|
|
- --config.file=/etc/prometheus/config.yaml
|
|
|
|
- --storage.tsdb.path=/prometheus
|
|
|
|
- --storage.tsdb.path=/prometheus
|
|
|
|
- --storage.tsdb.retention.time=360d
|
|
|
|
- --storage.tsdb.retention.time=${PROM_RETENTION:-360d}
|
|
|
|
container_name: monerod_prometheus
|
|
|
|
container_name: monerod_prometheus
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
# ports:
|
|
|
|
- 127.0.0.1:9090:9090
|
|
|
|
# - 127.0.0.1:9090:9090
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- prometheus:/prometheus
|
|
|
|
- prometheus:/prometheus
|
|
|
|
- ./files/prometheus/config.yaml:/etc/prometheus/config.yaml:ro
|
|
|
|
- ./files/prometheus/config.yaml:/etc/prometheus/config.yaml:ro
|
|
|
@ -34,7 +34,7 @@ services:
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
image: grafana/grafana:${GRAFANA_TAG:-8.5.4}
|
|
|
|
image: grafana/grafana:${GRAFANA_TAG:-8.5.4}
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:3000:3000
|
|
|
|
- 127.0.0.1:${GRAF_PORT:-3000}:3000
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
- grafana:/var/lib/grafana
|
|
|
|
- grafana:/var/lib/grafana
|
|
|
|
- ./files/grafana/grafana.ini:/etc/grafana/grafana.ini:ro
|
|
|
|
- ./files/grafana/grafana.ini:/etc/grafana/grafana.ini:ro
|
|
|
@ -60,8 +60,8 @@ services:
|
|
|
|
context: dockerfiles
|
|
|
|
context: dockerfiles
|
|
|
|
dockerfile: monerod_exporter
|
|
|
|
dockerfile: monerod_exporter
|
|
|
|
restart: unless-stopped
|
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
# ports:
|
|
|
|
- 127.0.0.1:9000:9000
|
|
|
|
# - 127.0.0.1:9000:9000
|
|
|
|
command:
|
|
|
|
command:
|
|
|
|
- --monero-addr=http://monerod:${UNRESTRICTED_PORT:-18083}
|
|
|
|
- --monero-addr=http://monerod:${UNRESTRICTED_PORT:-18083}
|
|
|
|
<<: *log-config
|
|
|
|
<<: *log-config
|
|
|
|