1. 更新前端界面和nginx配置文件

2. 更新部署脚本,将所有设置转移到Dockerfile中以便进行部署
This commit is contained in:
EnderByEndera
2024-01-25 17:58:58 +08:00
parent e9313f2420
commit 37b9e1f146
60 changed files with 54569 additions and 26 deletions

View File

@@ -3,6 +3,13 @@ LABEL authors="Endera"
COPY realtime_protection realtime_protection
ENV MYSQL_USERNAME="root" \
MYSQL_PASSWD="aiihhbfcsy123!@#" \
MYSQL_URL="192.168.107.89:3306" \
DORIS_USERNAME="root" \
DORIS_PASSWD="" \
DORIS_URL="10.26.22.133:9030"
EXPOSE 8081
ENTRYPOINT ["bash", "realtime_protection/docker-springboot/start_springboot.sh"]

View File

@@ -11,4 +11,4 @@ chmod +x ./gradlew
./gradlew clean && ./gradlew bootJar
# 启动SpringBoot服务
./gradlew bootRun --args="--spring.profiles.active=test"
./gradlew bootRun --args="--spring.profiles.active=prod"