-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
219 lines (206 loc) · 5.31 KB
/
docker-compose.yaml
File metadata and controls
219 lines (206 loc) · 5.31 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
version: "3"
services:
odo-ldap-openldap:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/openldap
container_name: odo-ldap-openldap
restart: always
deploy:
resources:
limits:
cpus: '0.5'
memory: '1G'
ports:
- 18389:389
volumes:
- ./odo-ldap/db:/var/lib/ldap
- ./odo-ldap/config:/etc/ldap
environment:
SLAPD_DOMAIN: qualitysphere.github.io
SLAPD_PASSWORD: opendevops
odo-ldap-phpldapadmin:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/phpldapadmin
container_name: odo-ldap-phpldapadmin
restart: always
deploy:
resources:
limits:
cpus: '0.5'
memory: '512M'
ports:
- 18880:80
environment:
LDAP_SERVER_HOST: odo-ldap-openldap
odo-ldap-ssp:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/ssp:1.3
container_name: odo-ldap-ssp
restart: always
deploy:
resources:
limits:
cpus: '0.5'
memory: '512M'
ports:
- 18080:80
volumes:
- ./odo-ldap/ssp/config.inc.php:/var/www/html/conf/config.inc.php
odo-pg:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/postgres:10
container_name: odo-pg
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '4G'
ports:
- 18432:5432
volumes:
- ./odo-pg:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: opendevops
odo-jira:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/jira-software:8.11
container_name: odo-jira
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '8G'
ports:
- 8080:8080
volumes:
- ./odo-jira:/var/atlassian/application-data/jira
odo-conf:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/confluence-server:7.5
container_name: odo-conf
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '8G'
ports:
- 8090:8090
- 8091:8091
volumes:
- ./odo-conf:/var/atlassian/application-data/confluence
odo-gitlab:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/gitlab-ce:13.3.5
container_name: odo-gitlab
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '8G'
ports:
- 12080:80
- 12443:443
- 222:222
volumes:
- ./odo-gitlab/data:/var/opt/gitlab
- ./odo-gitlab/config:/etc/gitlab
odo-jenkins:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/jenkins:blueocean
container_name: odo-jenkins
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '8G'
ports:
- 15080:8080
- 50000:50000
volumes:
- ./odo-jenkins/jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
odo-sonar:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/sonar:7.9
container_name: odo-sonar
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '4G'
ports:
- 9000:9000
environment:
SONARQUBE_JDBC_URL: "jdbc:postgresql://odo-pg:5432/sonar"
SONARQUBE_JDBC_USERNAME: postgres
SONARQUBE_JDBC_PASSWORD: opendevops
volumes:
- ./odo-sonar/data:/opt/sonarqube/data
- ./odo-sonar/logs:/opt/sonarqube/logs
- ./odo-sonar/extensions:/opt/sonarqube/extensions
- ./odo-sonar/sonar.properties:/opt/sonarqube/conf/sonar.properties
odo-harbor:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/harbor:installer-2.1.0
container_name: odo-harbor
deploy:
resources:
limits:
cpus: '0.1'
memory: '512M'
volumes:
- ./odo-harbor/:/workspace/
odo-rancher:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/rancher:2.4.8
container_name: odo-rancher
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '8G'
ports:
- 17443:443
volumes:
- ./odo-rancher:/var/lib/rancher
environment:
CATTLE_SYSTEM_CATALOG: bundled
AUDIT_LEVEL: 3
odo-jms:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/jms_all:2.1.2
container_name: odo-jms
restart: always
deploy:
resources:
limits:
cpus: '2'
memory: '8G'
ports:
- 17080:80
- 2222:2222
volumes:
- ./odo-jms/data:/opt/jumpserver/data
- ./odo-jms/mysql:/var/lib/mysql
environment:
SECRET_KEY: UGFn28Pp09SiJr60OMXs8e7lAqhJa3O1ztK8tJhMB5Aq1XNF6g
BOOTSTRAP_TOKEN: KIaSh2O7JR8r6Q0m
odo-portal:
image: registry.cn-hangzhou.aliyuncs.com/bxwill/odo-portal
container_name: odo-portal
restart: always
deploy:
resources:
limits:
cpus: '0.2'
memory: '512M'
ports:
- 80:80
- 443:443
# environment:
# ODO_PHPLDAPADMIN_URL: http://localhost:18880
# ODO_JIRA_URL: http://localhost:8080
# ODO_CONF_URL: http://localhost:8090
# ODO_SSP_URL: http://localhost:18080
# ODO_GITLAB_URL: http://localhost:12080
# ODO_HARBOR_URL: http://localhost:16080
# ODO_SONAR_URL: http://localhost:9000
# ODO_JENKINS_URL: http://localhost:15080
# ODO_JMS_URL: http://localhost:17080
# ODO_RANCHER_URL: https://localhost:17443