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
enderbyendera-realtime-prot…/docker-nginx/Dockerfile
Hao Miao 6cab8d2fa5 1、修改dockerfile网络配置
2、prod.xml增加kafka配置
2024-02-01 12:53:32 +08:00

22 lines
683 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="localhost: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"]