Skip to content

Commit

Permalink
Edited docker-composer, added volume for Grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarletRedMan committed Feb 14, 2024
1 parent 0c67395 commit 327c0d1
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@ services:
- "9090:9090"
volumes:
- "./config/prometheus.yml:/etc/prometheus/prometheus.yml"
networks:
metrics:
aliases: [ 'prometheus' ]

grafana:
image: grafana/grafana
ports:
- "3000:3000"
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
networks:
metrics:
aliases: [ 'grafana' ]

networks:
metrics:
volumes:
- "./appdata/grafana:/var/lib/grafana/"

0 comments on commit 327c0d1

Please sign in to comment.