94 lines
2.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 项目相关配置
cpop:
# 文件路径 示例( Windows配置W:/WorkSpace/java/uploadPathLinux配置 /home/baseFramework/uploadPath
profile: /root/Cpop-Oam/upload
jwt:
#白名单
white-list: /profile/**,/backstage/login,/doc.html,/webjars/**,/favicon.ico,/v3/api-docs/**,/swagger-ui.html,/swagger-ui/**,/callback/wxOpen/*
#拦截
gateway:
rsa-keypair:
# 公钥文件
publicKeyFile: /root/Cpop-Oam/keypair/publicKey
# 公钥文件
privateKeyFile: /root/Cpop-Oam/keypair/privateKey
# DataSource Config
spring:
application:
name: Cpop-Oam-Test
data:
#redis配置
redis:
#地址
host: gz-crs-lv77ii2t.sql.tencentcdb.com
#端口
port: 27714
#数据库
database: 2
#密码
password: Cpop2022@
#连接超时
timeout: 5000
jedis:
pool:
min-idle: 0
max-idle: 16
max-active: 16
max-wait: -1ms
client-type: jedis
server:
port: 9420
servlet:
context-path: /Cpop-Oam
# mongo-plus
mongo-plus:
data:
mongodb:
#ip
host: mongodb
#端口
port: 27017
#数据库名
database: cpop_test
#用户名,没有可不填(若账号中出现@,!等等符号,不需要再进行转码!!!)
username: mongo_AGwXPs
#密码,同上(若密码中出现@,!等等符号,不需要再进行转码!!!)
password: mongo_xe4Dhe
#验证数据库 admin
authentication-database: admin
connect-timeout-m-s: 50000
#Mybatis-Flex
mybatis-flex:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
datasource:
oam:
url: jdbc:mysql://bj-cynosdbmysql-grp-anccz88g.sql.tencentcdb.com:24808/cpop_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: cpop_test
password: zkrK3nT8TzsJABwr
jambox:
url: jdbc:mysql://bj-cynosdbmysql-grp-anccz88g.sql.tencentcdb.com:24808/jambox_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: jambox_test
password: R6fkprEYRttsQHh8
# springdoc-openapi项目配置
springdoc:
swagger-ui:
path: /swagger-ui.html
tags-sorter: alpha
operations-sorter: alpha
api-docs:
path: /v3/api-docs
group-configs:
- group: '系统后台'
paths-to-match: '/**'
packages-to-scan: com.cpop.oam.business.controller.backstage
# knife4j的增强配置不需要增强可以不配
knife4j:
enable: true
setting:
language: zh_cn