Skip to content

Commit

Permalink
Add example docker-compose.prod.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
haohanyang authored Sep 23, 2024
1 parent 41bc805 commit 0cc6fcd
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker-compose.prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
services:
grafana:
image: grafana/grafana
ports:
- 3000:3000
volumes:
- ./grafana-storage:/var/lib/grafana
- ./mongodb-datasource:/var/lib/grafana/plugins/haohanyang-mongodb-datasource
environment:
GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS: haohanyang-mongodb-datasource
links:
- mongo

mongo:
image: mongo
ports:
- 27017:27017

0 comments on commit 0cc6fcd

Please sign in to comment.