One stop DevoSecOps Cloud platform(saas) developed based on spring cloud. Its main function modules are: continuous delivery of CI/CD(Support distributed compilation, pptpvpn/OpenVPN/SSH tunnel deployment), certification center, monitoring center, configuration center, resource management center, scheduling center, elastic scaling, shell tools, various tool components (such as HBase/OSS operation and maintenance), document management, timely communication, lightweight risk control, private object storage, version control, etc
- Basic environment dependencies (must): JDK8+、Maven3.5+、MySQL5.6+
- Other environment dependencies (if necessary): Docker-ce18.06+、Kafka0.10.0+、Zookeeper3.4.6+
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 -U 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
- 4.1 Change the image name (wl4g / redis-cluster: latest) to: registry.cn-shenzhen.aliyuncs.com/wl4g/redis-cluster:latest
- 4.2 If it is a Ali vpc machine, it will fly faster by walking the vpc intranet (Limited to South China 1): registry-vpc.cn-shenzhen.aliyuncs.com/wl4g/redis-cluster:latest
- CI Continuous integration deployment(Continuous iteration), CICD build flow, etc.
- ESM Flexible scalability management, integrated K8s, Docker, management based on CPU, network traffic automatic or manual container scaling.
- SCM Configure the service center to support online configuration of hot updates such as DataSource, RedisClient, etc.
- ERM Basic resource and environment management, such as elk log analysis, binary compilation package, etc
- DJOB Based on spring cloud distributed scheduling platform, the default is based on elastic-job enhanced implementation
- COSS Based on the spring cloud composite object storage service, it supports NativeFS, HDFS, Aliyun OSS, AWS S3, GlusterFS, etc
- SHELL Shell Cli, adding a hbase-shell-like console to your app
- DOC API documentation service, online API documentation
- IAM Unified identity and access management services, supporting SSO/CAS, oauth2, opensaml, etc.
- IM Instant messaging system, project personnel communicate in a timely manner, internal data distribution.
- UMC Unified monitoring and operation center, providing real-time application health monitoring, real-time tracking, real-time alarms, etc.
- VCS Version control service, software source code, release package version management.
- Click add to group
- 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 (^_^).