diff --git a/.gitignore b/.gitignore index 002ee0d..5e72f75 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -./home +home diff --git a/docker-compose.yml b/docker-compose.yml index 9391f25..3912db5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,13 +2,10 @@ services: master-jenkins: - image: jenkins:latest + image: jenkins:alpine volumes: - - jenkins-vol-1:/var/jenkins_home + - ./home:/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" - -volumes: - jenkins-vol-1: diff --git a/jenkins.conf b/jenkins.conf index b2970cd..27319a3 100644 --- a/jenkins.conf +++ b/jenkins.conf @@ -8,7 +8,7 @@ # # http bind host and port -HTTP_BIND=127.0.0.1 +HTTP_BIND=0.0.0.0 HTTP_PORT=8080 # java api bind host and port