Common docker software, such as mysql, redis, rocketmq, etc., are convenient for normal testing without a lot of environment construction
Subnet=172.30.1.0/24
Gateway: 172.30.1.1
app | ip |
---|---|
Mysql | 172.30.1.2 |
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 |
Redis | 172.30.1.9 |
Nacos | 172.30.1.10 |
Nginx | 172.30.1.11 |
Elasticsearch | 172.30.1.12 |
Other software services will be supplemented in succession
sh ./intall_network.sh
start all docker app
sh ./startAll.sh
start one docker app eg:
cd mysql
sh start.sh
stop all docker app
sh ./stopAll.sh
stop one docker app eg:
cd mysql
./stop.sh