加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose-direct.yml 3.65 KB
一键复制 编辑 原始数据 按行查看 历史
zh_season 提交于 2021-10-03 17:01 . docker-compose config without agent
version: '3.4'
services:
postgres:
container_name: postgres
image: postgres:11
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: 123%abc
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- ./data/postgres-initdb.d:/docker-entrypoint-initdb.d
- ./data/postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
crowd:
image: registry.cn-shenzhen.aliyuncs.com/edana/crowd:4.3.5
container_name: crowd
restart: always
ports:
- "8095:8095"
volumes:
- ./data/crowd:/var/lib/atlassian/crowd
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8095/crowd/status"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
depends_on:
- postgres
jira:
image: registry.cn-shenzhen.aliyuncs.com/edana/jira:8.13.11
container_name: jira
restart: always
ports:
- "8080:8080"
volumes:
- ./data/jira:/var/lib/atlassian/jira
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/status"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
depends_on:
- crowd
confluence:
image: registry.cn-shenzhen.aliyuncs.com/edana/confluence:7.13.1
container_name: confluence
restart: always
ports:
- "8090:8090"
volumes:
- ./data/confluence:/var/lib/atlassian/confluence
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8090/status"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
depends_on:
- crowd
bitbucket:
image: registry.cn-shenzhen.aliyuncs.com/edana/bitbucket:7.6.9
container_name: bitbucket
restart: always
ports:
- "7990:7990"
- "7999:7999"
volumes:
- ./data/bitbucket:/var/lib/atlassian/bitbucket
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7990/status"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
depends_on:
- crowd
jenkins:
image: registry.cn-shenzhen.aliyuncs.com/edana/jenkins:2.314
container_name: jenkins
restart: always
ports:
- "8081:8080"
# startup first, and the copy home data from docker
volumes:
- ./data/jenkins:/var/jenkins_home
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/login"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
depends_on:
- crowd
nexus:
image: registry.cn-shenzhen.aliyuncs.com/edana/nexus:3.34.1
container_name: nexus
restart: always
ports:
- "8082:8081"
environment:
- CROWD_ENABLED=true
- CROWD_NAME=nexus
- CROWD_PASSWORD=nexus@123
- CROWD_URL=http://crowd:8095/crowd
# startnd the copy home data from docker
volumes:
- ./data/nexus:/nexus-data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8081/service/rest/v1/status"]
interval: 1m
timeout: 10s
retries: 3
start_period: 20s
depends_on:
- crowd
sonarqube:
image: sonarqube:9-community
container_name: sonarqube
restart: always
ports:
- "9000:9000"
environment:
SONAR_JDBC_URL: jdbc:postgresql://postgres:5432/sonar
SONAR_JDBC_USERNAME: sonar
SONAR_JDBC_PASSWORD: sonar@123
volumes:
- ./data/sonarqube/conf:/opt/sonarqube/conf
- ./data/sonarqube/data:/opt/sonarqube/data
- ./data/sonarqube/logs:/opt/sonarqube/logs
- ./data/sonarqube/extensions:/opt/sonarqube/extensions
depends_on:
- crowd
- postgres
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化