ganzi-api/inventory-ent/src/main/resources/application-yun.yml

112 lines
2.6 KiB
YAML
Raw Normal View History

2023-04-11 09:14:51 +08:00
server:
2023-04-14 18:06:37 +08:00
port: 7011
2023-04-11 09:14:51 +08:00
spring:
redis:
host: 172.27.181.247
# 进入哨兵项目-这个端口就不用了,除非是单体
port: 8011
# sentinel:
# master: mymaster
# nodes: 172.27.181.247:26379,172.27.181.247:26380,172.27.181.247:26381
lettuce:
pool:
max-active: 8
max-idle: 8
min-idle: 0
max-wait: 100
shutdown-timeout: 50000
2023-04-14 18:06:37 +08:00
password: gzQdzRedis
2023-04-11 09:14:51 +08:00
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://172.27.181.52:3306/inventory_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
username: ENC(QE4vB4KHgFwuqi42wTs27w==)
password: ENC(9mRKdl9UCE8tkEsoO376nx5rCx58Htk1)
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:
#上传文件存放地址
2023-04-14 18:06:37 +08:00
file_location: /static/resource/inventory/uploadFile/
2023-04-11 09:14:51 +08:00
#上传文件公共地址
file_header: /static/resource/inventory/uploadFile/
#上传文件基础路径
service_file_header: http://172.27.181.247/
#父级地区id
superior_org_code: 512000
#动态详情基础地址
html_header: http://172.27.181.247:8018/
#logourl
2023-04-14 18:06:37 +08:00
logo_url: http://172.27.181.247:8010/static/resource/inventory/citysafe_logo.png
2023-04-11 09:14:51 +08:00
#政府端帮助文档url
help_url: http://172.27.181.247:8018/appGovHelp
#企业端帮助文档url
ent_help_url: http://172.27.181.247:8018/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: /static/rzyc/resource/inventory/gsp.xlsx
#zip下载地址
zip_path: /static/rzyc/resource/inventory/zip
#导出word模板路径
word_tmp: /static/rzyc/resource/inventory/wordtmp
#加密
jasypt:
encryptor:
password: gzQdz