diff --git a/docker-compose.yml b/docker-compose.yml index 7de65b7d..45f7a9e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -230,9 +230,7 @@ services: volumes: - ${DATA_SAVE_PATH}/grafana:/var/lib/grafana ports: - - "3000:3000" - depends_on: - - mysql + - "${GRAFANA_PORT}:3000" networks: - backend diff --git a/env-example b/env-example index 2fd338bd..48b697fb 100644 --- a/env-example +++ b/env-example @@ -234,6 +234,10 @@ JENKINS_HOST_HTTP_PORT=8090 JENKINS_HOST_SLAVE_AGENT_PORT=50000 JENKINS_HOME=./jenkins/jenkins_home +### JENKINS ############################################################################################################ + +GRAFANA_PORT=3000 + ### BLACKFIRE ########################################################################################################## # Create an account on blackfire.io. Don't enable blackfire and xDebug at the same time.