Merge pull request #1202 from arkadiusjonczek/master
Add Grafana Container to laradock.io :)
This commit is contained in:
commit
9fa3733622
|
@ -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>
|
<br>
|
||||||
<a name="CodeIgniter"></a>
|
<a name="CodeIgniter"></a>
|
||||||
|
|
||||||
|
|
|
@ -639,6 +639,18 @@ services:
|
||||||
- frontend
|
- frontend
|
||||||
- backend
|
- 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 #######################################
|
||||||
laravel-echo-server:
|
laravel-echo-server:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -242,6 +242,10 @@ JENKINS_HOST_HTTP_PORT=8090
|
||||||
JENKINS_HOST_SLAVE_AGENT_PORT=50000
|
JENKINS_HOST_SLAVE_AGENT_PORT=50000
|
||||||
JENKINS_HOME=./jenkins/jenkins_home
|
JENKINS_HOME=./jenkins/jenkins_home
|
||||||
|
|
||||||
|
### GRAFANA ############################################################################################################
|
||||||
|
|
||||||
|
GRAFANA_PORT=3000
|
||||||
|
|
||||||
### BLACKFIRE ##########################################################################################################
|
### BLACKFIRE ##########################################################################################################
|
||||||
|
|
||||||
# Create an account on blackfire.io. Don't enable blackfire and xDebug at the same time.
|
# Create an account on blackfire.io. Don't enable blackfire and xDebug at the same time.
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM grafana/grafana:latest
|
||||||
|
|
||||||
|
EXPOSE 3000
|
Loading…
Reference in New Issue