以下是配置文件docker-compose:data: build: jenkins-datamaster: build: jenkins-master volumes_from: - data ports: - "50000:50000"nginx: build: jenkins-nginx ports: - "80:80" - "443:443" links: - master:jenkins-master# volumes:# - /etc/letsencrypt:/etc/letsencryptslave: build: jenkins-slave#slavedotnet:# build: jenkins-dotnetcore-slave希望有帮助。运行以下命令后:docker-compose -f jenkinsDocker/docker-compose.yml -p jenkins up -d nginx data master
添加回答
举报
0/150
提交
取消