Skip to content

Commit

Permalink
feat(infra): add grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
olexsmir committed Sep 29, 2024
1 parent 13b2055 commit 80e7089
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,17 @@ services:
- ./infra/prometheus:/etc/prometheus
ports:
- 9090:9090

grafana:
image: grafana/grafana:11.1.6
container_name: onasty-grafana
network_mode: host # TODO: remove
user: root
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- ./.docker/grafana:/var/lib/grafana
- ./infra/grafana/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml
ports:
- 3069:3000
Empty file added infra/grafana/datasources.yml
Empty file.

0 comments on commit 80e7089

Please sign in to comment.