Browse Source

opt:修改 prod配置文件

1
liejiu946 6 days ago
parent
commit
a15039789f
  1. 8
      nlsso-server/src/main/resources/config/application-prod.yml
  2. 2
      nlsso-server/src/main/resources/config/application.yml

8
nlsso-server/src/main/resources/config/application-prod.yml

@ -7,10 +7,10 @@ spring:
db-type: com.alibaba.druid.pool.DruidDataSource
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
# url: jdbc:log4jdbc:mysql://${DB_HOST:192.168.81.252}:${DB_PORT:3306}/${DB_NAME:stand_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:qzyf_acs}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
url: jdbc:log4jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:qzyf}?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&useOldAliasMetadataBehavior=true
username: ${DB_USER:root}
# password: ${DB_PWD:Root.123456}
password: ${DB_PWD:123456789}
password: ${DB_PWD:123456}
# 初始连接数
initial-size: 5
# 最小连接数
@ -71,7 +71,7 @@ spring:
baseline-on-migrate: true
redis:
#数据库索引
database: ${REDIS_DB:2}
database: ${REDIS_DB:5}
# host: ${REDIS_HOST:10.44.101.19}
host: ${REDIS_HOST:192.168.11.250}
port: ${REDIS_PORT:6379}
@ -170,7 +170,7 @@ sa-token:
token-session-check-login: false
alone-redis:
# Redis数据库索引(默认为0)
database: 2
database: 5
# Redis服务器地址
host: 192.168.11.250
# Redis服务器连接端口

2
nlsso-server/src/main/resources/config/application.yml

@ -2,7 +2,7 @@ spring:
freemarker:
check-template-location: false
profiles:
active: dev
active: prod
jackson:
time-zone: GMT+8
data:

Loading…
Cancel
Save