2020-08-01 07:39:04 +00:00
|
|
|
version: '2.2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
turbo-geth:
|
|
|
|
image: turbo-geth:latest
|
|
|
|
build: .
|
2020-09-14 05:05:35 +00:00
|
|
|
command: tg --metrics --metrics.addr="0.0.0.0" --metrics.port="6060" --private.api.addr="0.0.0.0:9090" --pprof --pprof.addr="0.0.0.0" --pprof.port="6061"
|
2020-08-01 07:39:04 +00:00
|
|
|
volumes:
|
2020-08-08 01:16:33 +00:00
|
|
|
- ${XDG_DATA_HOME:-~/.local/share}/turbogeth:/root/.local/share/turbogeth
|
2020-08-01 07:39:04 +00:00
|
|
|
ports:
|
|
|
|
- 30303:30303
|
|
|
|
|
|
|
|
prometheus:
|
2020-11-28 14:26:28 +00:00
|
|
|
image: prom/prometheus:v2.22.2
|
2020-08-01 07:39:04 +00:00
|
|
|
command: --log.level=warn --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus --web.console.libraries=/usr/share/prometheus/console_libraries --web.console.templates=/usr/share/prometheus/consoles
|
|
|
|
ports:
|
|
|
|
- 9090:9090
|
|
|
|
volumes:
|
2020-10-21 04:22:25 +00:00
|
|
|
- ${TG_PROMETHEUS_CONFIG:-./cmd/prometheus/prometheus.yml}:/etc/prometheus/prometheus.yml
|
2020-08-02 11:49:01 +00:00
|
|
|
- ${XDG_DATA_HOME:-~/.local/share}/tg-prometheus:/prometheus
|
2020-08-01 07:39:04 +00:00
|
|
|
|
|
|
|
grafana:
|
2020-11-28 14:26:28 +00:00
|
|
|
image: grafana/grafana:7.3.3
|
2020-08-01 07:39:04 +00:00
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
volumes:
|
2020-10-21 04:26:23 +00:00
|
|
|
- ${TG_GRAFANA_CONFIG:-./cmd/prometheus/grafana.ini}:/etc/grafana/grafana.ini
|
2020-08-01 07:39:04 +00:00
|
|
|
- ./cmd/prometheus/datasources:/etc/grafana/provisioning/datasources
|
|
|
|
- ./cmd/prometheus/dashboards:/etc/grafana/provisioning/dashboards
|
2020-08-02 11:49:01 +00:00
|
|
|
- ${XDG_DATA_HOME:-~/.local/share}/tg-grafana:/var/lib/grafana
|
2020-08-01 07:39:04 +00:00
|
|
|
|
|
|
|
rpcdaemon:
|
|
|
|
image: turbo-geth:latest
|
2020-08-25 13:04:01 +00:00
|
|
|
command: rpcdaemon --private.api.addr="turbo-geth:9090" --http.addr="0.0.0.0" --http.vhosts="*" --http.corsdomain="*" --http.api="eth,debug,net"
|
2020-08-01 07:39:04 +00:00
|
|
|
ports:
|
|
|
|
- 8545:8545
|
|
|
|
|