Skip to content

Commit

Permalink
Prometheus (including config), Grafana dashboard config
Browse files Browse the repository at this point in the history
  • Loading branch information
Xithrius committed Oct 20, 2023
1 parent 70482e0 commit d261d55
Show file tree
Hide file tree
Showing 3 changed files with 934 additions and 5 deletions.
36 changes: 31 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:

container_name: postgres

image: postgres:15-alpine
image: "docker.io/postgres:15-alpine"

ports:
- "5432:5432"
Expand All @@ -37,7 +37,7 @@ services:

container_name: metabase

image: "metabase/metabase:latest"
image: "docker.io/metabase/metabase:latest"

ports:
- "3000:3000"
Expand All @@ -61,7 +61,7 @@ services:

container_name: adminer

image: adminer:latest
image: "docker.io/adminer:latest"

ports:
- "8080:8080"
Expand All @@ -84,8 +84,8 @@ services:
volumes:
- ./api:/api

depends_on:
- postgres
# depends_on:
# - postgres

ports:
- "8000:8000"
Expand All @@ -110,3 +110,29 @@ services:

volumes:
- ./bot:/bot

grafana:
<<: *logging

container_name: grafana

image: "docker.io/grafana/grafana"

volumes:
- ./services/grafana/dashboards:/etc/grafana/provisioning/dashboards/

ports:
- "3030:3000"

prometheus:
<<: *logging

container_name: prometheus

image: "docker.io/prom/prometheus"

volumes:
- ./services/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml

ports:
- "9090:9090"
Loading

0 comments on commit d261d55

Please sign in to comment.