This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhaoyixiang-realtime-protec…/docker-nginx/Dockerfile
EnderByEndera c806444935 1. 前端界面更新,添加部分按钮
2. README更新项目启动方式
3. 修改Docker启动脚本,使用--privileged和--host模式启动
2024-01-27 02:34:51 +08:00

22 lines
688 B
Docker

FROM protection_ubuntu:latest
LABEL authors="Endera"
COPY realtime_protection realtime_protection
#ENV SPRINGBOOT_FIRST_URL="10.58.72.141:8081" \
# SPRINGBOOT_SECOND_URL="10.58.72.142:8081" \
# SPRINGBOOT_THIRD_URL="10.58.72.143:8081" \
# SPRINGBOOT_FOURTH_URL="10.58.72.144:8081" \
# NGINX_PORT=8080 \
# NGINX_SERVER_NAME="localhost"
ENV SPRINGBOOT_FIRST_URL="192.168.107.89:8081" \
SPRINGBOOT_SECOND_URL="172.24.100.53:8082" \
SPRINGBOOT_THIRD_URL="172.24.100.53:8083" \
SPRINGBOOT_FOURTH_URL="172.24.100.53:8084" \
NGINX_PORT=8080 \
NGINX_SERVER_NAME="localhost"
EXPOSE 8080
ENTRYPOINT ["bash", "realtime_protection/docker-nginx/start_nginx.sh"]