Skip to content

bytearch/docker-app

Repository files navigation

docker-app

Common docker software, such as mysql, redis, rocketmq, etc., are convenient for normal testing without a lot of environment construction

文章说明

浅谈工作中常用应用软件本地docker化,一键部署它不香吗?

1. Host planning

Subnet=172.30.1.0/24

Gateway: 172.30.1.1

app ip 说明
Mysql 172.30.1.2 mysql单机
RocketMq-namesrv 172.30.1.3
RocketMq-broker 172.30.1.4
Rocketmq-console 172.30.1.5
Zookeeper 172.30.1.6,172.30.1.7,172.30.1.8 ZK集群
Redis 172.30.1.9
Nacos 172.30.1.10
Nginx 172.30.1.11
Elasticsearch 172.30.1.12 ES单机版
Mysql-Cluster 172.30.1.21 ~ 172.30.1.40 Mysql多主多从
Gitlab 172.30.1.50 Gitlab
Nexus3 172.30.1.51 Maven私服
ELK 172.30.1.52 ~ 172.30.1.54 ES + Kibana+Logstash
Prometheus 172.30.1.55
Cadvisor 172.30.1.56 Docker服务监控数据采集
Grafana 172.30.1.57 监控展示
Skywalking server: 172.30.1.58 web: 172.30.1.59 链路追踪
redis-cluster 172.30.1.61,172.30.1.62,172.30.1.63 172.30.1.64,172.30.1.65,172.30.1.66 redis-cluster集群

Other software services will be supplemented in succession

2. Install

1). create network
sh ./intall_network.sh

If you are a MAC system, you may need to take a look at file "./mac_connect_docker.md"

2). start docker app

start all docker app

sh ./startAll.sh 

start one docker app eg:

cd mysql
sh start.sh

3). stop docker app

stop all docker app

sh ./stopAll.sh

stop one docker app eg:

cd mysql 
./stop.sh

About

Common docker software, such as mysql, redis, rocketmq, etc., are convenient for normal testing without a lot of environment construction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published