erigon-pulse/docker-compose.yml

53 lines
1.6 KiB
YAML
Raw Normal View History

version: '2.2'
services:
turbo-geth:
image: turbo-geth:latest
build: .
command: tg --nousb --metrics --pprof.addr="0.0.0.0" --pprof.port="6060" --private.api.addr="0.0.0.0:9090"
volumes:
- ${XDG_DATA_HOME:-~}/turbogeth:/root/.turbogeth/
ports:
- 30303:30303
prometheus:
image: prom/prometheus:v2.20.0
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:
- ./cmd/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
- ${XDG_DATA_HOME:-./cmd/prometheus}/tg-prometheus:/prometheus
grafana:
image: grafana/grafana:7.1.1
ports:
- 3000:3000
volumes:
- ./cmd/prometheus/grafana.ini:/etc/grafana/grafana.ini
- ./cmd/prometheus/datasources:/etc/grafana/provisioning/datasources
- ./cmd/prometheus/dashboards:/etc/grafana/provisioning/dashboards
- ${XDG_DATA_HOME:-./cmd/prometheus}/tg-grafana:/var/lib/grafana
restapi:
image: turbo-geth:latest
command: restapi --http.addr="0.0.0.0:8080" --private.api.addr="turbo-geth:9090"
ports:
- 8080:8080
rpcdaemon:
image: turbo-geth:latest
command: rpcdaemon --private.api.addr="turbo-geth:9090" --http.addr="0.0.0.0" --http.vhosts="*" --http.corsdomain="*" --http.api="eth,debug"
ports:
- 8545:8545
debugui:
image: turbo-geth:debugui
build: ./debug-web-ui/
stdin_open: true
ports:
- 3001:3000