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

22 lines
691 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="192.168.107.89:8082" \
SPRINGBOOT_THIRD_URL="192.168.107.89:8083" \
SPRINGBOOT_FOURTH_URL="192.168.107.89:8084" \
NGINX_PORT=8080 \
NGINX_SERVER_NAME="localhost"
EXPOSE 8080
ENTRYPOINT ["bash", "realtime_protection/docker-nginx/start_nginx.sh"]