added grafana docker container
This commit is contained in:
parent
6cff904eba
commit
508e9ebd9e
@ -222,6 +222,25 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
### Grafana Container #########################################
|
||||||
|
|
||||||
|
grafana:
|
||||||
|
build:
|
||||||
|
context: ./grafana
|
||||||
|
volumes:
|
||||||
|
- ${DATA_SAVE_PATH}/grafana:/var/lib/grafana
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
|
||||||
|
#grafana-storage:
|
||||||
|
# image: busybox:latest
|
||||||
|
# volumes:
|
||||||
|
# - ${DATA_SAVE_PATH}/grafana:/var/lib/grafana
|
||||||
|
|
||||||
### Percona Container #########################################
|
### Percona Container #########################################
|
||||||
|
|
||||||
percona:
|
percona:
|
||||||
|
3
grafana/Dockerfile
Normal file
3
grafana/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM grafana/grafana:latest
|
||||||
|
|
||||||
|
EXPOSE 3000
|
Loading…
Reference in New Issue
Block a user