1. 更新前端界面和nginx配置文件
2. 更新部署脚本,将所有设置转移到Dockerfile中以便进行部署
This commit is contained in:
@@ -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"]
|
||||
@@ -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"
|
||||
Reference in New Issue
Block a user