该项目仅供于学习体验 DevOps 之用,若涉及到商业版权部分,请自行联系软件商。
Table of Contents
- Framework
- Quick Start
- Resource
- Deployment
- Configuration
- OpenLDAP
- Self Service Password
- Jira Software
- Confluence
- GitLab
- SonarQube
- Jenkins
- Harbor
- Rancher
- JumpServer
- Manual
- Tool Chain
- odoctl
- ODO Dockerfiles
Type | CPU | Memory |
---|---|---|
Minimum | 4 core | 8 G |
Recommended | 8 core | 16 G |
Optimum | 16 core | 32 G |
git clone https://github.com/QualitySphere/OpenDevOps.git
cd OpenDevOps
odo-portal
environment part in docker-compose.yaml
./odoctl start all
http://ODO-HOST
http://ODO-HOST:18080
odo
's password to validate SSPodo
's password via E-mail. $reset_url
in odo-ldap/ssp/config.inc.php
http://ODO-HOST:15080
to unlock itinitialAdminPassword
via otoctl tool ./odoctl license jenkins
in ODO-HOST GitLab
Publish Over SSH
SSH
Ant
Gradle
Service | Port | Container Port | Volume | Container Volume |
---|---|---|---|---|
OpenLDAP | 18389 | 389 | odo-ldap/db odo-ldap/config |
/var/lig/ldap /etc/ldap |
PHPLdapAdmin | 18880 | 80 | - | - |
Self Service Password | 18080 | 80 | odo-ldap/ssp/config.inc.php | /var/www/html/conf/config.inc.php |
PostgresQL | 18432 | 5432 | odo-pg | /var/lib/postgresql/data |
Jira | 8080 | 8080 | odo-jira | /var/atlassian/application-data/jira |
Confluence | 8090 8091 |
8090 8091 |
odo-conf | /var/atlassian/application-data/confluence |
GitLab | 12080 12443 222 |
80 443 222 |
odo-gitlab/data odo-gitlab/config |
/var/opt/gitlab /etc/gitlab |
Jenkins | 15080 50000 |
8080 50000 |
odo-jenkins/jenkins_home /var/run/docker.sock |
/var/jenkins_home /var/run/docker.sock |
SonarQube | 9000 | 9000 | odo-sonar/data odo-sonar/logs odo-sonar/extensions odo-sonar/sonar.properties |
/opt/sonarqube/data /opt/sonarqube/logs /opt/sonarqube/extensions /opt/sonarqube/conf/sonar.properties |
Harbor | 16080 | 80 | odo-harbor | |
Rancher | 17443 | 443 | odo-rancher | /var/lib/rancher |
JumpServer | 17080 2222 |
80 2222 |
odo-jms/data odo-jms/mysql |
/opt/jumpserver/data /var/lib/mysql |
Portal | 80 443 |
80 443 |
./odoctl <COMMAND>:
start - Up container(s) to start service(s) and init them
start_no_init - Up container(s) to start service(s)
stop - Stop container(s) to stop service(s)
down - Down all services
restart - Restart container(s) to restart service(s)
list - List container(s)
license - Generate JIRA/Confluence/Plugin license
cleanup - Cleanup all containers and dirs
./odoctl start/stop/restart <SERVICE>:
all - All Services
ldap - OpenLDAP, PhpLDAPAdmin and Self Service Password
pg - PostgresQL
jira - Jira Software
conf - Confluence
sonar - SonarQube Community Edition
jenkins - Jenkins
gitlab - GitLab Community Edition
rancher - Rancher
jms - JumpServer
portal - DevOps Portal
./odoctl list
./odoctl license <PRODUCT>:
jira - Generate JIRA software license
jira_plugin - Generate JIRA plugin license
conf - Generate Confluence server license
conf_plugin - Generate Confluence plugin license
jenkins - Get Jenkins initialAdminPassword
./odoctl license jira_plugin/conf/conf_plugin <PRODUCT_ID>:
PRODUCT_ID is REQUIRED
+-------------+------------+------------------------------------+
| PRODUCT | PRODUCT_ID | WHERE |
+-------------+------------+------------------------------------+
| jira_plugin | plugin ID | JIRA application detail page |
+-------------+------------+------------------------------------+
| conf | server ID | Confluence installation page |
+-------------+------------+------------------------------------+
| conf_plugin | plugin ID | Confluence application detail page |
+-------------+------------+------------------------------------+
./odoctl cleanup