1. 前端界面更新,添加部分按钮
2. README更新项目启动方式 3. 修改Docker启动脚本,使用--privileged和--host模式启动
This commit is contained in:
@@ -20,8 +20,8 @@ docker build -t protection_springboot -f realtime_protection/docker-springboot/D
|
||||
echo "============built backend servers============"
|
||||
|
||||
# 尝试开启多个SpringBoot
|
||||
docker run -itd --name springboot_backend_1 -p 8081:8081 protection_springboot
|
||||
docker run -itd --name springboot_backend_2 -p 8082:8081 protection_springboot
|
||||
docker run -itd --name springboot_backend_3 -p 8083:8081 protection_springboot
|
||||
docker run -itd --name springboot_backend_4 -p 8084:8081 protection_springboot
|
||||
docker run --privileged -itd --name springboot_backend_1 -p 8081:8081 protection_springboot
|
||||
docker run --privileged -itd --name springboot_backend_2 -p 8082:8081 protection_springboot
|
||||
docker run --privileged -itd --name springboot_backend_3 -p 8083:8081 protection_springboot
|
||||
docker run --privileged -itd --name springboot_backend_4 -p 8084:8081 protection_springboot
|
||||
echo "============started backend servers============"
|
||||
Reference in New Issue
Block a user