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-springboot/start_springboot.sh
PushM bd85612c89 1、start_springboot.sh后端添加权限系统url的域名解析服务器
2、审批意见接口,审批info字段为空不报错
3、修改防护对象、动态规则分页查询bug
4、告警信息处理新增对IsProtectObjectIPSrc的判断
2024-05-14 21:37:22 +08:00

17 lines
469 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# 初始化变量设定
export set BASEDIR="/root"
export set PROTECTION_DIR="$BASEDIR/realtime_protection"
export set GRADLE_USER_HOME="$PROTECTION_DIR/gradle"
# 后端添加权限系统url的域名解析服务器
echo nameserver 10.41.8.8 >> /etc/resolv.conf
# 启动gradle编译java
cd $PROTECTION_DIR
chmod +x ./gradlew
./gradlew clean && ./gradlew bootJar
# 启动SpringBoot服务
./gradlew bootRun --args="--spring.profiles.active=test"