share-platform/renren-admin/src/main/resources/application.yml

131 lines
3.7 KiB
YAML
Raw Normal View History

2022-06-21 09:47:04 +08:00
project:
# 平台部署位置 0青岛市区 1青岛西海岸 2包头
2022-06-21 09:48:36 +08:00
place: 0
# 是否将资源归为上级
higher: false
2022-04-24 11:27:04 +08:00
# 大数据部门相关配置
big_date:
name: 青岛市大数据发展管理局
assignee_role_name: 部门审批人
2022-05-11 15:31:48 +08:00
# 需要进行统计数目的资源 type
census:
type: 组件服务,应用资源,基础设施,数据资源,知识库
2022-07-18 09:20:25 +08:00
applyType: 应用资源,业务组件,图层服务,开发组件,智能算法
2022-05-13 17:48:37 +08:00
# 海信网关
hisense:
gateway:
url: http://devtest-security-app.hismarttv.com:8080
2022-04-11 15:03:55 +08:00
# Tomcat
server:
tomcat:
uri-encoding: UTF-8
threads:
max: 1000
min-spare: 30
port: 9090
servlet:
context-path: /renren-admin
session:
cookie:
http-only: true
spring:
# 环境 dev|test|prod|show
2022-04-11 15:03:55 +08:00
profiles:
2022-07-19 16:24:16 +08:00
active: dev
2022-04-11 15:03:55 +08:00
messages:
encoding: UTF-8
basename: i18n/messages
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
enabled: true
redis:
database: 0
host: 127.0.0.1
port: 6379
password: # 密码(默认为空)
timeout: 6000ms # 连接超时时长(毫秒)
jedis:
pool:
max-active: 1000 # 连接池最大连接数(使用负值表示没有限制)
max-wait: -1ms # 连接池最大阻塞等待时间(使用负值表示没有限制)
max-idle: 10 # 连接池中的最大空闲连接
min-idle: 5 # 连接池中的最小空闲连接
activiti:
check-process-definitions: false
2022-04-18 13:59:25 +08:00
resources:
2022-07-14 14:12:17 +08:00
static-locations: classpath:/static,classpath:/public,file:${resource.path},file:${resource.devModelFilePath}
flyway:
2022-06-20 18:25:05 +08:00
enabled: true
2022-06-19 14:49:57 +08:00
locations: filesystem:config/db
baseline-on-migrate: true
baseline-version: 0
2022-06-23 11:45:19 +08:00
validate-on-migrate: true
2022-04-11 15:03:55 +08:00
fdfs:
so-timeout: 600000
connect-timeout: 6000
2022-04-18 13:59:25 +08:00
tracker-list: #TrackerList参数,支持多个
2022-04-11 15:03:55 +08:00
- 192.168.10.10:22122
# 是否开启redis缓存 true开启 false关闭
renren.redis.open: false
#mybatis
mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml
#实体扫描多个package用逗号或者分号分隔
typeAliasesPackage: io.renren.modules.*.entity
global-config:
#数据库相关配置
db-config:
#主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
id-type: ID_WORKER
banner: false
#原生配置
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
call-setters-on-nulls: true
jdbc-type-for-null: 'null'
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
2022-05-23 18:28:02 +08:00
#系统上线日期,用于统计能力浏览记录
2022-05-18 18:06:47 +08:00
system:
startDay: 2022-04-01
yawei:
enable: true
2022-06-13 17:11:58 +08:00
2022-06-20 16:24:14 +08:00
#对接知识库相关配置
zsk:
url:
sign: https://cms.qingdao.gov.cn:9020/api-gateway/jpaas-jags-server/interface/createsign.do
gateway: https://cms.qingdao.gov.cn:9020/api-gateway/jpaas-jags-server/interface/gateway
appid: hxszzt
appkey: 120d6a3cc2cd45096abaa5700cb19d0779d5f22ff683436e6d3a7ff8a8d66f5e8307f31b192281831e9f6dc0b6a1f308
param:
charset: UTF-8
origin: 0
version: 1.0
methodId: jirdGetInfoByCatalog
catalogIds: c0645e03fb7e4cf3842e9ceedd8ab998,f49561afc7204f008c4bb3cd821eb6ba
2022-06-30 09:41:38 +08:00
sso:
2022-06-30 10:19:04 +08:00
mode: yawei # 取值 yawei,cas,不填时为禁用sso
2022-06-30 09:41:38 +08:00
cas:
server-url-prefix: http://10.134.135.81:11188/cas
server-login-url: http://10.134.135.81:11188/cas/login
2022-07-13 10:47:23 +08:00
server-logout-url: http://10.134.135.81:11188/cas/logout
2022-06-30 09:41:38 +08:00
client-host-url: http://localhost:9999/#/
use-session: false
validation-type: cas3
# 前端地址,用于退出登录后的重定向
front:
url: http://10.16.16.159:4444