Skip to content

Latest commit

 

History

History
95 lines (84 loc) · 5.94 KB

File metadata and controls

95 lines (84 loc) · 5.94 KB

DevSecOps

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 License Maven JDK MySQL Redis Kafka Zookeeper Docker-ce QQ1 GithubStars GiteeStars Ubuntu CentOS

中文文档

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    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.
  • SRM    Software resource environment management, such as elk log analysis, binary compilation assets, 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.

Communicate, feedback and contribute?

Share Code?