ganzi-api/inventory-ent/src/main/resources/application-dev.yml
2023-05-15 11:42:03 +08:00

104 lines
2.4 KiB
YAML

server:
port: 7011
spring:
redis:
host: 42.193.40.239
port: 6378
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: 100
shutdown-timeout: 50000
Auth: redis@rzyc123456
servlet:
multipart:
enabled: true
max-file-size: 50MB
max-request-size: 100MB
mvc:
view:
prefix: classpath:/templates/
suffix: .html
devtools:
restart:
enabled: true
thymeleaf:
cache: false
resources:
cache:
period: 0
application:
name: log
#数据库
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://121.40.106.103:3306/inventory_copy?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false&
username: rzyc
password: ENC(FDlRK2MAcJBMF7UBHBJPLGzRkpWQ4T6dgYP2bDnTodQ=)
tomcat:
max-active: 10
min-idle: 10
initial-size: 2
hikari:
minimum-idle: 3
maximum-pool-size: 10
max-lifetime: 30000
connection-test-query: SELECT 1
jackson:
#设置json转时间时区为东八区
time-zone: GMT+8
#mybatis 配置文件
mybatis:
type-aliases-package: com.rzyc.model
mapper-locations: mapper/**/*.xml
config-location: classpath:mybatis-config.xml
#打印sql
logging:
level:
com.rzyc.mapper: debug
#自定义配置
onstants:
#上传文件存放地址
file_location: /home/rzyc/resource/inventory/uploadFile/
#上传文件公共地址
file_header: /resource/inventory/uploadFile/
#上传文件基础路径
service_file_header: http://192.168.31.253/
#父级地区id
superior_org_code: 513300
#动态详情基础地址
html_header: http://192.168.31.253:7010/
#logourl
logo_url: http://42.193.40.239/resource/inventory/citysafe_logo.png
#政府端帮助文档url
help_url: http://42.193.40.239:7010/appGovHelp
#企业端帮助文档url
ent_help_url: http://42.193.40.239:7010/appGovHelp
#行业部门id
unit_id: 5bd164aa-dd43-45e3-a5a2-649bb2fd9fb9
#镇街功能区
area_unit_id: 920184e5-0cd8-4ef5-bdc7-d992ac4f1c17
#验证码key
generate_code_key: GENERATE_CODE_KEY
#企业账号默认密码
default_passwd: csaq512000
#公示牌
gsp_path: /home/rzyc/resource/inventory/gsp.xlsx
#zip下载地址
zip_path: /home/rzyc/resource/inventory/zip
#导出word模板路径
word_tmp: /home/rzyc/resource/inventory/wordtmp
#加密
jasypt:
encryptor:
password: rzyc2022