• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

OpenDevOps: 该项目仅供于学习体验 DevOps 之用,若涉及到商业版权部分,请自行联系软 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

OpenDevOps

开源软件地址:

https://gitee.com/QualitySphere/OpenDevOps

开源软件介绍:

OpenDevOps

This is ONLY for DevOps learning and practice. Please contact the software vendor to get the product license if you are a company.

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

Framework

Open DevOps ServicesODO Framework

Quick Start

Resource

TypeCPUMemory
Minimum4 core8 G
Recommended8 core16 G
Optimum16 core32 G

Deployment

  1. Clone project
    git clone https://github.com/QualitySphere/OpenDevOps.git
  2. Change dir to ODO home
    cd OpenDevOps
  3. Enable and update odo-portal environment part in docker-compose.yaml
    Change localhost to your server IP or domain
    ODO Portal YAML
  4. Start ODO services
    ./odoctl start all
  5. Access ODO-Portal http://ODO-HOST
    ODO Portal

Configuration

  • OpenLDAP
    • Auto-init
  • Self Service Password
    • Access Self Service Password http://ODO-HOST:18080
    • Try to update default account odo's password to validate SSP
    • Try to update odo's password via E-mail.
      if you find there is no hostname in the reset password link, you can update $reset_url in odo-ldap/ssp/config.inc.php
  • Jira Software
    • Auto-init
  • Confluence
    • Auto-init
  • GitLab
    • Auto-init
  • SonarQube
    • Auto-init
  • Jenkins
    • Access Jenkins http://ODO-HOST:15080 to unlock it
    • You can get initialAdminPassword via otoctl tool ./odoctl license jenkins in ODO-HOST
    • Add/Remove the plugins to config Jenkins
      • check GitLab Publish Over SSH SSH
      • uncheck Ant Gradle
    • Waiting for installation complete
    • Use default admin account to continue
    • Try to config LDAP later
  • Harbor
    • To Be Written
  • Rancher
    • To Be Written
  • JumpServer
    • To Be Written

Manual

Tool Chain

ServicePortContainer PortVolumeContainer Volume
OpenLDAP18389389odo-ldap/db
odo-ldap/config
/var/lig/ldap
/etc/ldap
PHPLdapAdmin1888080--
Self Service Password1808080odo-ldap/ssp/config.inc.php/var/www/html/conf/config.inc.php
PostgresQL184325432odo-pg/var/lib/postgresql/data
Jira80808080odo-jira/var/atlassian/application-data/jira
Confluence8090
8091
8090
8091
odo-conf/var/atlassian/application-data/confluence
GitLab12080
12443
222
80
443
222
odo-gitlab/data
odo-gitlab/config
/var/opt/gitlab
/etc/gitlab
Jenkins15080
50000
8080
50000
odo-jenkins/jenkins_home
/var/run/docker.sock
/var/jenkins_home
/var/run/docker.sock
SonarQube90009000odo-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
Harbor1608080odo-harbor
Rancher17443443odo-rancher/var/lib/rancher
JumpServer17080
2222
80
2222
odo-jms/data
odo-jms/mysql
/opt/jumpserver/data
/var/lib/mysql
Portal80
443
80
443

odoctl

  • commands
./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
  • services
./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
  • list containers
./odoctl list
  • generate license for JIRA/Confluence
./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 |      +-------------+------------+------------------------------------+
  • cleanup ODO services and dirs
./odoctl cleanup

ODO Dockerfiles


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap