# super-devops **Repository Path**: keiferXing/super-devops ## Basic Information - **Project Name**: super-devops - **Description**: 一个轻量全面的微服务DevSecOps解决方案,CICD、统一监控、统一认证、配置中心、日志分析、弹性伸缩、Shell CLI、HBase运维工具、DOCS、VCS等 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 183 - **Created**: 2020-03-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![DevSecOps](shots/logo.jpg) ## One stop micro service-oriented lightweight DevSecOps solution, supports CI/CD, unified monitoring, link tracking, unified authentication, unified configuration, log analysis, elastic scaling, scheduling center, command-line services, HBase operation and maintenance tools, document management, version control, etc [![Build Status](https://travis-ci.org/wl4g/super-devops.svg)](https://travis-ci.org/wl4g/super-devops) ![License](https://img.shields.io/badge/license-Apache2.0+-green.svg) [![Maven](https://img.shields.io/badge/Maven-3.5+-green.svg)](https://github.com/wl4g/super-devops) [![JDK](https://img.shields.io/badge/JDK-1.8+-green.svg)](https://github.com/wl4g/super-devops) [![MySQL](https://img.shields.io/badge/MySQL-5.6+-green.svg)](https://github.com/wl4g/super-devops) [![Redis](https://img.shields.io/badge/RedisCluster-3+-green.svg)](https://github.com/wl4g/super-devops) [![Kafka](https://img.shields.io/badge/Kafka-0.10.0+-green.svg)](https://github.com/wl4g/super-devops) [![Zookeeper](https://img.shields.io/badge/Zookeeper-3.4.6+-green.svg)](https://github.com/wl4g/super-devops) [![Docker-ce](https://img.shields.io/badge/DockerCE-18.06+-green.svg)](https://github.com/wl4g/super-devops) [![QQ1](https://img.shields.io/badge/QQ1-855349515-green.svg)](https://shang.qq.com/wpa/qunwpa?idkey=0343b06591d19188d86dc078912adfc5c40f023c8ec5a0d1eda5bdfc35ab40d0) [![GithubStars](https://img.shields.io/github/stars/wl4g/super-devops)](https://github.com/wl4g/super-devops) [![GiteeStars](https://gitee.com/wl4g/super-devops/badge/star.svg)](https://gitee.com/wl4g/super-devops) [![Ubuntu](https://img.shields.io/badge/Ubuntu-16+-green.svg)](https://gitee.com/wl4g/super-devops) [![CentOS](https://img.shields.io/badge/CentOS-6.5+-green.svg)](https://gitee.com/wl4g/super-devops) [中文文档](README_CN.md) ### Runtime environment - Basic environment dependencies (must): JDK8+、Maven3.5+、MySQL5.6+ - Other environment dependencies (if necessary): Docker-ce18.06+、Kafka0.10.0+、Zookeeper3.4.6+ ### Quick start example: For the sake of brevity, each service only deploys a single node to the same physical machine, which has been regarded as a pseudo cluster. - step1:Compile ``` cd super-devops mvn clean install -DskipTests -T 2C ``` - step2, Initialize the db, First prepare a CentOS 6.5 + and MySQL 5.6 + instance, create a new database named Devops (utf8 / utf8_bin), and then use [initial SQL script] (dB /) to initialize it.(Note: this script corresponds to the code version, and we will update it regularly. Please use the latest one according to the named suffix date) - step3, Configure hosts, Add local domain name resolution.(C:\Windows\System32\drivers\etc or vim /etc/hosts): ``` 10.0.0.160 wl4g.debug # Corresponding to app_cluster_config.extranet_base_uri ``` - step4:Quickly build a redis cluster (docker) ``` mkdir -p /mnt/disk1/redis/ docker run -itd \ -p 16379:16379/tcp \ -p 16380:16380/tcp \ -p 16381:16381/tcp \ -p 17379:17379/tcp \ -p 17380:17380/tcp \ -p 17381:17381/tcp \ -p 6379:6379/tcp \ -p 6380:6380/tcp \ -p 6381:6381/tcp \ -p 7379:7379/tcp \ -p 7380:7380/tcp \ -p 7381:7381/tcp \ -v /mnt/disk1/redis/:/mnt/disk1/redis/ \ --privileged \ --name=redis_cluster \ wl4g/redis-cluster:latest /sbin/init -XlistenIp='127.0.0.1' -XredisPassword='zzx!@#$%' ``` Domestic friends, if need to speed up(Must>=1.10.0): ``` sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://hjbu3ivg.mirror.aliyuncs.com"] } EOF sudo systemctl daemon-reload sudo systemctl restart docker ``` (Aliyun VPC)Use mirror1: registry-vpc.cn-shenzhen.aliyuncs.com/wl4g/redis-cluster:latest Use mirror2: registry.cn-shenzhen.aliyuncs.com/wl4g/redis-cluster:latest ### Docs - [CI](super-devops-ci/README.md)    Continuous integration deployment(Continuous iteration), CICD build flow, etc. - [ESM](super-devops-esm/README.md)    Flexible scalability management, integrated k8s, docker, management based on CPU, network traffic automatic or manual container scaling. - [SCM](super-devops-scm/README.md)    Configure the service center to support online configuration of hot updates such as DataSource, RedisClient, etc. - [SRM](super-devops-srm/README.md)    Software resource environment management, such as elk log analysis, binary compilation assets, etc - [SHELL](super-devops-shell/README.md)    Shell Cli, adding a hbase-shell-like console to your app - [DOC](super-devops-doc/README.md)    API documentation service, online API documentation - [IAM](super-devops-iam/README.md)    Unified identity and access management services, supporting SSO/CAS, oauth2, opensaml, etc. - [IM](super-devops-im/README.md)    Instant messaging system, project personnel communicate in a timely manner, internal data distribution. - [UMC](super-devops-umc/README.md)    Unified monitoring and operation center, providing real-time application health monitoring, real-time tracking, real-time alarms, etc. - [VCS](super-devops-vcs/README.md)    Version control service, software source code, release package version management. ### Communicate, feedback and contribute? - Click add to group [![QQ1](https://img.shields.io/badge/QQ1-855349515-green.svg)](https://shang.qq.com/wpa/qunwpa?idkey=0343b06591d19188d86dc078912adfc5c40f023c8ec5a0d1eda5bdfc35ab40d0) - ![q855349515](shots/q855349515.jpg) - GitHub: https://github.com/wl4g/super-devops - OS China: https://gitee.com/wl4g/super-devops - No matter how strong a person's personal ability is, he can't defeat a team. He hopes that his brothers and sisters can support him and contribute some of his own code to improve it together (^_^). [Share Code?](https://www.cnblogs.com/wenber/p/3630921.html)