Skip to content

Commit

Permalink
feat: Grafana Initial Dashboard and Dev Env for Metrics (#97)
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 authored Aug 13, 2024
1 parent 0ca1c5e commit c6fb100
Show file tree
Hide file tree
Showing 10 changed files with 701 additions and 40 deletions.
28 changes: 27 additions & 1 deletion server/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,32 @@ services:
env_file:
- .env
ports:
- "9999:9999"
- "8080:8080"
- "5005:5005"
- "9999:9999"

prometheus:
image: prom/prometheus
container_name: prometheus
volumes:
- ./metrics/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- "9090:9090"

grafana:
image: grafana/grafana
container_name: grafana
depends_on:
- prometheus
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_PATHS_PROVISIONING=/etc/grafana/provisioning
volumes:
- ./metrics/dashboards:/etc/grafana/provisioning/dashboards
- ./metrics/datasources/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml
ports:
- "3000:3000"

Loading

0 comments on commit c6fb100

Please sign in to comment.