1. 前端界面更新,添加部分按钮
2. README更新项目启动方式 3. 修改Docker启动脚本,使用--privileged和--host模式启动
This commit is contained in:
@@ -17,5 +17,7 @@ docker load < realtime_protection/docker-ubuntu/protection_ubuntu.tar
|
||||
docker build -t protection_nginx -f realtime_protection/docker-nginx/Dockerfile .
|
||||
echo "============built frontend servers============"
|
||||
|
||||
docker run -itd --name nginx_frontend -p 8080:8080 protection_nginx
|
||||
# 使用host模式进行Nginx服务器部署,方便在中心部署时不会遭遇容器内部无法访问外部网络的问题
|
||||
# 使用privileged模式,防止中心部署时无法启动Nginx服务器
|
||||
docker run --privileged --network host -itd --name nginx_frontend protection_nginx
|
||||
echo "============started frontend servers============"
|
||||
|
||||
Reference in New Issue
Block a user