修改服务器

feasure
xce 2026-01-04 20:58:59 +08:00
parent caa4a24b53
commit 8e70dbe08f
3 changed files with 4 additions and 4 deletions

2
Jenkinsfile vendored
View File

@ -11,7 +11,7 @@ pipeline {
HOST_SSH_HOST = "172.17.0.1"
// ====== 你的项目 ======
REPO_SSH = "ssh://git@1.94.254.176:222/root/agri.git" // gitea 仓库
REPO_SSH = "ssh://git@122.51.109.52:222/root/agri.git" // gitea 仓库
BRANCH = "master"
BOOT_MODULE = "agri-admin" // 多模块启动模块(按你实际改)

View File

@ -6,7 +6,7 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://1.94.254.176:3306/agri?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://122.51.109.52:3306/agri?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=Asia/Shanghai
username: root
password: lld123
# 从库数据源

View File

@ -77,7 +77,7 @@ spring:
# redis 配置
redis:
# 地址
host: 1.94.254.176
host: 122.51.109.52
# 端口默认为6379
port: 6379
# 数据库索引
@ -133,7 +133,7 @@ referer:
# 防盗链开关
enabled: false
# 允许的域名列表
allowed-domains: localhost,127.0.0.1,1.94.254.176
allowed-domains: localhost,127.0.0.1,122.51.109.52
# 防止XSS攻击
xss: