Skip to content

Commit

Permalink
added grafana docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiusjonczek committed Oct 1, 2017
1 parent 6cff904 commit 508e9eb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM grafana/grafana:latest

EXPOSE 3000

0 comments on commit 508e9eb

Please sign in to comment.