File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : ' 3'
2+ services :
3+ chartmuseum :
4+ image : ' chartmuseum/chartmuseum:latest'
5+ container_name : " chartmuseum"
6+ restart : always
7+ privileged : true
8+ environment :
9+ STORAGE : local
10+ STORAGE_LOCAL_ROOTDIR : /charts
11+ ports :
12+ - ' 8080:8080'
13+ volumes :
14+ - ' ./charts:/charts'
15+
Original file line number Diff line number Diff line change 1+ version : ' 3.9'
2+ services :
3+ jenkins :
4+ image : jenkins/jenkins:2.440.1
5+ container_name : jenkins
6+ # 重启策略:除非手动停止,否则出错会无限重启
7+ restart : unless-stopped
8+ privileged : true
9+ ports :
10+ # 8080 为 Jenkins 的 Web 端口
11+ - 8080:8080
12+ # 50000 为代理节点与主服务器的通信端口?
13+ - 50000:50000
14+ volumes :
15+ # 同步宿主机的时间
16+ - /etc/timezone:/etc/timezone
17+ - /etc/localtime:/etc/localtime
18+ # Jenkins 数据目录映射出来,方面操作和备份
19+ - ./jenkins_home:/var/jenkins_home
20+ # 把宿主机的 docker 和 docker-compose 给 Jenkins 使用,这样可以直接在 Jenkins 内部打镜像,并直接操作容器
21+ - /usr/bin/docker:/usr/bin/docker
22+ - /var/run/docker.sock:/var/run/docker.sock
23+ - /usr/bin/docker-compose:/usr/bin/docker-compose
24+
Original file line number Diff line number Diff line change 1+ version : " 3.3"
2+ services :
3+ nexus :
4+ image : sonatype/nexus3:3.80.0
5+ container_name : nexus3
6+ restart : always
7+ environment :
8+ - TZ=Asia/Shanghai
9+ ports :
10+ - 8081:8081
11+ volumes :
12+ - ./data:/nexus-data
13+
Original file line number Diff line number Diff line change @@ -14,3 +14,11 @@ services:
1414 # - "STANDALONE=true"
1515 # - "MIRROR_SOURCE=https://registry-1.docker.io"
1616 # - "MIRROR_SOURCE_INDEX=https://index.docker.io"
17+ web :
18+ image : konradkleine/docker-registry-frontend:v2
19+ restart : always
20+ ports :
21+ - 80:80
22+ environment :
23+ - ENV_DOCKER_REGISTRY_HOST=192.168.1.143
24+ - ENV_DOCKER_REGISTRY_PORT=5000
Original file line number Diff line number Diff line change 1+ version : " 3.1"
2+ name : npm-proxy-verdaccio
3+
4+ services :
5+ verdaccio :
6+ image : verdaccio/verdaccio:6.1
7+ container_name : " verdaccio"
8+ restart : always
9+ networks :
10+ - node-network
11+ environment :
12+ - VERDACCIO_PORT=4873
13+ ports :
14+ - " 4873:4873"
15+ volumes :
16+ - " ./storage:/verdaccio/storage"
17+ - " ./config:/verdaccio/conf"
18+ - " ./plugins:/verdaccio/plugins"
19+ networks :
20+ node-network :
21+ driver : bridge
Original file line number Diff line number Diff line change 1+ docker cp verdaccio:/verdaccio/conf/config.yaml config/
Original file line number Diff line number Diff line change 1+ version : ' 3.0'
2+
3+ services :
4+
5+ # 禅道(你自己的容器名称)
6+ behelpful-zentao :
7+ image : easysoft/zentao
8+ container_name : zentao
9+ ports :
10+ - ' 80:80'
11+ - ' 3306:3306'
12+
13+ # 数据持久化挂载宿主机:格式: 宿主机路径目录:容器内部目录
14+ # 容器内部的不用动,宿主机中的可根据自己需求修改,支持绝对路径和相对路径
15+ volumes :
16+ - ' ./zentao/data:/www/zentaopms'
17+ - ' ./zentao/mysql:/var/lib/mysql'
18+
19+ # 禅道数据库MySQL root 用户密码设置(这里设置了,感觉无效,启动时依然警告:Access denied for user 'root'@'localhost' (using password: NO))
20+ # 启动引导界面还会让你设置一次 数据库 MySQL 的 用户和密码
21+ environment :
22+ # 数据库密码
23+ - MYSQL_ROOT_PASSWORD=zentao-flytrap
24+
You can’t perform that action at this time.
0 commit comments