diff --git a/docker-compose.yml b/docker-compose.yml index 2b11a1d..c8cea51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,5 +10,5 @@ - ./data:/var/jenkins_home restart: always ports: - - "${HTTP_BIND:-127.0.0.1}:${HTTP_PORT:-8080}:8080" - - "${API_BIND:-127.0.0.1}:${API_PORT:-50000}:50000" + - "${JENKINS_HTTP_BIND:-127.0.0.1}:${JENKINS_HTTP_PORT:-8080}:8080" + - "${JENKINS_API_BIND:-127.0.0.1}:${JENKINS_API_PORT:-50000}:50000" diff --git a/jenkins.conf b/jenkins.conf index c811139..c3f49cb 100644 --- a/jenkins.conf +++ b/jenkins.conf @@ -8,9 +8,9 @@ # # http bind host and port -HTTP_BIND=127.0.0.1 -HTTP_PORT=8080 +JENKINS_HTTP_BIND=127.0.0.1 +JENKINS_HTTP_PORT=8080 # java api bind host and port -API_BIN=127.0.0.1 -API_PORT=50000 +JENKINS_API_BIN=127.0.0.1 +JENKINS_API_PORT=50000