Browse Source

修改配置文件

master
zhouhaibin 2 months ago
parent
commit
11c108d3f4
  1. 2
      easy-api/src/main/resources/application-prod.yml
  2. 14
      easy-api/src/main/resources/application-test.yml

2
easy-api/src/main/resources/application-prod.yml

@ -15,7 +15,7 @@ springdoc:
packagesToScan: com.easy.admin
server:
# 端口号
port: 8001
port: 9001
logging:
file:
path: logs

14
easy-api/src/main/resources/application-test.yml

@ -15,7 +15,7 @@ springdoc:
packagesToScan: com.easy.admin
server:
# 端口号
port: 9001
port: 8001
logging:
file:
path: logs
@ -40,9 +40,9 @@ spring:
# 服务器地址
host: 127.0.0.1
# 服务器连接端口
port: 6379
port: 6380
# 服务器连接密码(默认为空)
password: 1q2wE$R1qaz@WSX
password: root
jedis:
pool:
# 连接池最大连接数(使用负值表示没有限制)
@ -61,9 +61,9 @@ spring:
dynamic:
datasource:
master:
url: jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3306}/${DB_NAME:guoyan_huzhou}?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
url: jdbc:mysql://${DB_HOST:127.0.0.1}:${DB_PORT:3307}/${DB_NAME:guoyan_huzhou}?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMulQueries=true&allowMultiQueries=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullDatabaseMeansCurrent=true&useInformationSchema=true
username: ${DB_USERNAME:root}
password: ${DB_PASSWORD:1q2w#E$R1qaz@WSX}
password: ${DB_PASSWORD:root}
aj:
captcha:
# 滑动验证,底图路径,不配置将使用默认图片
@ -85,9 +85,9 @@ jeecg:
uploadType: local
path:
#文件上传根目录 设置
upload: /opt/guoyan/upload
upload: /opt/guoyan_test/upload
#webapp文件路径
webapp: /opt/guoyan/webapp
webapp: /opt/guoyan_test/webapp
file:
storage:
# 文件存储方式:local - 本地存储 / oss - 对象存储

Loading…
Cancel
Save