Skip to content

Commit

Permalink
add grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
nonnontrivial committed Aug 15, 2024
1 parent 313d9be commit 26a4dc9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f ./api/requirements.txt ]; then pip install -r ./api/requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand Down
11 changes: 9 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data

grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
depends_on:
- postgres

keydb:
image: "eqalpha/keydb:latest"
Expand Down Expand Up @@ -84,9 +92,8 @@ services:
links:
- rabbitmq



volumes:
grafana-data:
postgres-data:
open-meteo-data:
external: true
Expand Down

0 comments on commit 26a4dc9

Please sign in to comment.