added grafana docker container

This commit is contained in:
Arkadius Jonczek 2017-10-01 02:36:55 +02:00
parent 6cff904eba
commit 508e9ebd9e
2 changed files with 22 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
FROM grafana/grafana:latest
EXPOSE 3000