Skip to content

Commit

Permalink
Merge pull request #74 from danez/debugging
Browse files Browse the repository at this point in the history
Easy Debugging with docker compose
  • Loading branch information
ShilpaSivanesan committed Feb 24, 2022
2 parents a1de366 + 505b839 commit a678be6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
volumes:
- ./dist:/var/lib/grafana/plugins/grafana/grafana-meta-queries
- ./provisioning/datasources:/etc/grafana/provisioning/datasources
environment:
- TERM=linux
16 changes: 16 additions & 0 deletions provisioning/datasource/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: 1

# list of datasources that should be deleted from the database
deleteDatasources:
- orgId: 1
name: testdata

# # list of datasources to insert/update depending
# # on what's available in the datbase
datasources:
- orgId: 1
name: TestData DB
type: testdata
isDefault: true
version: 1
editable: true

0 comments on commit a678be6

Please sign in to comment.