Skip to content

Commit d922ad0

Browse files
Fix the infinity rpc integration
1 parent 6e08596 commit d922ad0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

metrics-docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,19 @@ services:
1616
# See https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#override-configuration-with-environment-variables
1717
# and https://grafana.com/docs/grafana/latest/setup-grafana/configure-docker/
1818
# They recommend using env vars instead of overwriting config.ini
19+
- GF_INSTALL_PLUGINS=yesoreyeram-infinity-datasource
1920
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
2021
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
2122
- GF_USERS_ALLOW_SIGN_UP=false
23+
- RPC_URL=http://host.docker.internal:8545
2224
# Postgres datasource
2325
- POSTGRES_HOST=postgres
2426
- POSTGRES_PORT=5432
2527
- POSTGRES_DB=postgres
2628
- POSTGRES_USER=postgres
2729
- POSTGRES_PASSWORD=postgres
30+
extra_hosts:
31+
- "host.docker.internal:host-gateway"
2832
restart: unless-stopped
2933
ports:
3034
- "3000:3000"

0 commit comments

Comments
 (0)