1. 前端界面更新,添加部分按钮

2. README更新项目启动方式
3. 修改Docker启动脚本,使用--privileged和--host模式启动
This commit is contained in:
EnderByEndera
2024-01-27 02:34:51 +08:00
parent e48f837b64
commit c806444935
23 changed files with 173 additions and 19 deletions

View File

@@ -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============"