-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (34 loc) · 1.07 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
version: '2.4'
services:
jenkins:
image: jenkins/jenkins:latest
volumes:
- ./jenkins_home:/var/jenkins_home
- ./cert/java-cacerts:/opt/java/openjdk/lib/security/cacerts
ports:
- "8080:8080"
environment:
JAVA_OPTS: -Xms1g -Xmx1g
update-json-resigner:
# image: kruft/jenkins-update-dot-json-resigner:1.0
build:
context: .
volumes:
- ./cert:/cert/
environment:
DEBUG: "true"
LISTEN_PORT: 8282
# LISTEN_PORT: 8443
# TLS_CERT_PATH: "/cert/your-update-center.crt"
# TLS_KEY_PATH: "/cert/your-update-center.key"
UPDATE_JSON_URL: https://updates.jenkins.io/update-center.json
UPDATE_JSON_DOWNLOAD_TIMEOUT: 90s
UPDATE_JSON_CACHE_TTL: 30m
ORIGIN_DOWNLOAD_URL: https://updates.jenkins.io/download/
NEW_DOWNLOAD_URL: http://update-json-resigner:8282/
REAL_MIRROR_URL: "https://ftp.belnet.be/mirror/jenkins/"
SIGN_CERTIFICATE_PATH: /cert/your-update-center.crt
SIGN_KEY_PATH: /cert/your-update-center.key
ports:
- "8282:8282"
- "8443:8443"