diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index 628c420..4c2a8bc 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -942,6 +942,24 @@ docker-compose up -d aws +
+ +## 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. + + +
diff --git a/docker-compose.yml b/docker-compose.yml index ae47a28..05c9147 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/env-example b/env-example index 5d0360c..59bea64 100644 --- a/env-example +++ b/env-example @@ -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. diff --git a/grafana/Dockerfile b/grafana/Dockerfile new file mode 100644 index 0000000..8aa70a2 --- /dev/null +++ b/grafana/Dockerfile @@ -0,0 +1,3 @@ +FROM grafana/grafana:latest + +EXPOSE 3000 \ No newline at end of file