diff --git a/docker-compose.yml b/docker-compose.yml index d25abd4..2af6ca6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,7 @@ mem_limit: 2g environment: - JAVA_OPTS="-Djava.util.logging.config.file=/var/jenkins_home/log.properties" + - TZ=${TZ} volumes: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro diff --git a/jenkins.conf b/jenkins.conf index 7357ca9..58ab83d 100644 --- a/jenkins.conf +++ b/jenkins.conf @@ -9,8 +9,12 @@ # http bind host and port JENKINS_HTTP_BIND=127.0.0.1 -JENKINS_HTTP_PORT=8080 +JENKINS_HTTP_PORT=8081 # java api bind host and port JENKINS_API_BIND=127.0.0.1 JENKINS_API_PORT=50000 + + +# Timezone one of /usr/share/zoneinfo +TZ=Europe/Berlin