Reduced port exposure to localhost

This commit is contained in:
2020-12-27 23:12:09 +01:00
parent dddb3fffc3
commit 51fbc67a04
10 changed files with 10 additions and 10 deletions

View File

@@ -13,7 +13,7 @@
image: jenkins/jenkins:lts
restart: always
ports:
- "{{http_port}}:8080"
- "127.0.0.1:{{http_port}}:8080"
restart: always
volumes:
- jenkins_data:/var/jenkins_home