@ -7,6 +7,8 @@ services:
image: jenkins
hostname: jenkins
restart: always
environment:
- JAVA_OPTS=-Xmx2g
volumes:
- jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
@ -57,4 +57,6 @@ apt-get update
# 3.安装docker-compose
apt install docker-compose -y
# 公司数据兼容版本最低为jenkins2.414.3
https://mirrors.tuna.tsinghua.edu.cn/jenkins/war-stable/2.414.3/
```