Merge pull request #1202 from arkadiusjonczek/master

Add Grafana Container to laradock.io :)
This commit is contained in:
Mahmoud Zalt 2017-10-19 19:41:51 +03:00 committed by GitHub
commit 9fa3733622
4 changed files with 37 additions and 0 deletions

View File

@ -942,6 +942,24 @@ docker-compose up -d aws
<br>
<a name="Use-Grafana"></a>
## Use Grafana
1 - Configure Grafana: Change Port using `GRAFANA_PORT` if you wish to. Default is port 3000.
2 - Run the Grafana Container (`grafana`) with the `docker-compose up`command:
```bash
docker-compose up -d grafana
```
3 - Open your browser and visit the localhost on port **3000** at the following URL: `http://localhost:3000`
4 - Login using the credentials User = `admin` Passwort = `admin`. Change the password in the webinterface if you want to.
<br>
<a name="CodeIgniter"></a>

View File

@ -639,6 +639,18 @@ services:
- frontend
- backend
### Grafana Container #########################################
grafana:
build:
context: ./grafana
volumes:
- ${DATA_SAVE_PATH}/grafana:/var/lib/grafana
ports:
- "${GRAFANA_PORT}:3000"
networks:
- backend
### Laravel Echo Server #######################################
laravel-echo-server:
build:

View File

@ -242,6 +242,10 @@ JENKINS_HOST_HTTP_PORT=8090
JENKINS_HOST_SLAVE_AGENT_PORT=50000
JENKINS_HOME=./jenkins/jenkins_home
### GRAFANA ############################################################################################################
GRAFANA_PORT=3000
### BLACKFIRE ##########################################################################################################
# Create an account on blackfire.io. Don't enable blackfire and xDebug at the same time.

3
grafana/Dockerfile Normal file
View File

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