added grafana docker container
This commit is contained in:
parent
6cff904eba
commit
508e9ebd9e
|
@ -222,6 +222,25 @@ services:
|
|||
networks:
|
||||
- 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:
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
FROM grafana/grafana:latest
|
||||
|
||||
EXPOSE 3000
|
Loading…
Reference in New Issue