1. 更新前端界面和nginx配置文件
2. 更新部署脚本,将所有设置转移到Dockerfile中以便进行部署
This commit is contained in:
@@ -3,6 +3,13 @@ LABEL authors="Endera"
|
||||
|
||||
COPY realtime_protection realtime_protection
|
||||
|
||||
EXPOSE 80
|
||||
ENV SPRINGBOOT_FIRST_URL="localhost:8081" \
|
||||
SPRINGBOOT_SECOND_URL="localhost:8082" \
|
||||
SPRINGBOOT_THIRD_URL="localhost:8083" \
|
||||
SPRINGBOOT_FOURTH_URL="localhost:8084" \
|
||||
NGINX_PORT=8080 \
|
||||
NGINX_SERVER_NAME="localhost"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["bash", "realtime_protection/docker-nginx/start_nginx.sh"]
|
||||
Reference in New Issue
Block a user