修改服务器配置
This commit is contained in:
Vendored
+2
-2
@@ -13,10 +13,10 @@ pipeline {
|
|||||||
|
|
||||||
environment {
|
environment {
|
||||||
// 目标服务器配置
|
// 目标服务器配置
|
||||||
DEPLOY_HOST = '8.138.180.255'
|
DEPLOY_HOST = '8.148.237.97'
|
||||||
DEPLOY_PORT = '22'
|
DEPLOY_PORT = '22'
|
||||||
DEPLOY_USER = 'root'
|
DEPLOY_USER = 'root'
|
||||||
DEPLOY_PASS = 'sh.0807.'
|
DEPLOY_PASS = 'Mzpy520@126.com'
|
||||||
|
|
||||||
// 项目配置
|
// 项目配置
|
||||||
IMAGE_NAME = 'offerpie-backend-client'
|
IMAGE_NAME = 'offerpie-backend-client'
|
||||||
|
|||||||
@@ -4,12 +4,12 @@ server:
|
|||||||
# 数据源配置
|
# 数据源配置
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
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}
|
username: ${MYSQL_USERNAME:root}
|
||||||
password: ${MYSQL_PASSWORD:^CgDatabase2020}
|
password: ${MYSQL_PASSWORD:^CgDatabase2020}
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
redis:
|
redis:
|
||||||
host: ${REDIS_HOST:8.138.5.14}
|
host: ${REDIS_HOST:8.163.14.142}
|
||||||
password: ${REDIS_PASSWORD:#8kPCdAsser}
|
password: ${REDIS_PASSWORD:#8kPCdAsser}
|
||||||
port: ${REDIS_PORT:30089}
|
port: ${REDIS_PORT:30089}
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
|
|||||||
Reference in New Issue
Block a user