Skip to content

Commit

Permalink
🔧 feat: Add grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Cory authored and Will Cory committed Sep 14, 2023
1 parent 5b3964e commit 9911126
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions indexer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ services:
depends_on:
postgres:
condition: service_healthy

ui:
build:
context: ..
Expand All @@ -67,7 +67,7 @@ services:
postgres:
condition: service_healthy

prisma-check:
prisma-check:
restart: "no"
build:
context: ..
Expand All @@ -81,6 +81,21 @@ services:
postgres:
condition: service_healthy

grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
depends_on:
- prometheus
environment:
# TODO - Replace with ENV variables to allow for better security
- GF_SECURITY_ADMIN_PASSWORD=adminpassword
volumes:
- ./datesources.yml:/etc/grafana/provisioning/datasources/datasources.yaml
security_opt:
- "no-new-privileges:true"

backend-goerli:
image: ethereumoptimism/gateway-backend:latest
environment:
Expand Down

0 comments on commit 9911126

Please sign in to comment.