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 packagesToScan: com.easy.admin
server: server:
# 端口号 # 端口号
port: 8001 port: 9001
logging: logging:
file: file:
path: logs path: logs

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

@ -15,7 +15,7 @@ springdoc:
packagesToScan: com.easy.admin packagesToScan: com.easy.admin
server: server:
# 端口号 # 端口号
port: 9001 port: 8001
logging: logging:
file: file:
path: logs path: logs
@ -40,9 +40,9 @@ spring:
# 服务器地址 # 服务器地址
host: 127.0.0.1 host: 127.0.0.1
# 服务器连接端口 # 服务器连接端口
port: 6379 port: 6380
# 服务器连接密码(默认为空) # 服务器连接密码(默认为空)
password: 1q2wE$R1qaz@WSX password: root
jedis: jedis:
pool: pool:
# 连接池最大连接数(使用负值表示没有限制) # 连接池最大连接数(使用负值表示没有限制)
@ -61,9 +61,9 @@ spring:
dynamic: dynamic:
datasource: datasource:
master: 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} username: ${DB_USERNAME:root}
password: ${DB_PASSWORD:1q2w#E$R1qaz@WSX} password: ${DB_PASSWORD:root}
aj: aj:
captcha: captcha:
# 滑动验证,底图路径,不配置将使用默认图片 # 滑动验证,底图路径,不配置将使用默认图片
@ -85,9 +85,9 @@ jeecg:
uploadType: local uploadType: local
path: path:
#文件上传根目录 设置 #文件上传根目录 设置
upload: /opt/guoyan/upload upload: /opt/guoyan_test/upload
#webapp文件路径 #webapp文件路径
webapp: /opt/guoyan/webapp webapp: /opt/guoyan_test/webapp
file: file:
storage: storage:
# 文件存储方式:local - 本地存储 / oss - 对象存储 # 文件存储方式:local - 本地存储 / oss - 对象存储

Loading…
Cancel
Save