erigon-pulse/cmd/prometheus/docker-compose.yml
Alex Sharov 339316deb2
Metrics server without pprof (#451)
* metrics_server_without_pprof

* re-run ci

* re-run ci
2020-04-14 13:49:49 +01:00

49 lines
1.0 KiB
YAML

version: '2.2'
services:
turbo-geth:
build: ./../..
command: --nousb --metrics --metrics.expensive --pprof --pprofaddr=0.0.0.0 --pprofport=6060 --remote-db-listen-addr=0.0.0.0:9999
stop_grace_period: 2m
volumes:
- ${TGETH_DATADIR:-~/Library/Ethereum}:/root/.ethereum/
ports:
- 30303:30303
- 8545:8545
- 6060:6060
- 9999:9999
prometheus:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- ./prometheus:/prometheus
grafana:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- ./grafana:/var/lib/grafana
- ./datasources:/etc/grafana/provisioning/datasources
- ./dashboards:/etc/grafana/provisioning/dashboards
restapi:
build:
context: ./../../
dockerfile: ./cmd/restapi/Dockerfile
command: --remote-db-addr turbo-geth:9999
ports:
- 8080:8080
debugui:
build: ./../../debug-web-ui
stdin_open: true
ports:
- 3001:3000