修改服务器配置

This commit is contained in:
zk
2026-05-27 21:30:18 +08:00
parent dd3726b8e2
commit 002a158e47
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -13,10 +13,10 @@ pipeline {
environment {
// 目标服务器配置
DEPLOY_HOST = '8.138.180.255'
DEPLOY_HOST = '8.148.237.97'
DEPLOY_PORT = '22'
DEPLOY_USER = 'root'
DEPLOY_PASS = 'sh.0807.'
DEPLOY_PASS = 'Mzpy520@126.com'
// 项目配置
IMAGE_NAME = 'offerpie-backend-client'
@@ -4,12 +4,12 @@ server:
# 数据源配置
spring:
datasource:
url: jdbc:mysql://${MYSQL_HOST:8.138.5.14}:${MYSQL_PORT:30006}/${DB_NAME:offerpie}?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
url: jdbc:mysql://${MYSQL_HOST:8.163.14.142}:${MYSQL_PORT:30006}/${DB_NAME:offerpie}?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
username: ${MYSQL_USERNAME:root}
password: ${MYSQL_PASSWORD:^CgDatabase2020}
driver-class-name: com.mysql.cj.jdbc.Driver
redis:
host: ${REDIS_HOST:8.138.5.14}
host: ${REDIS_HOST:8.163.14.142}
password: ${REDIS_PASSWORD:#8kPCdAsser}
port: ${REDIS_PORT:30089}
timeout: 10s