2 Star 0 Fork 0

hdp626/cpms-config

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main-data.yml 2.95 KB
一键复制 编辑 原始数据 按行查看 历史
server:
port: 18002
#actuator配置
management:
endpoints:
web:
exposure:
include: "*"
# 数据源配置
spring:
main:
allow-bean-definition-overriding: true
servlet:
multipart:
enabled: true
max-file-size: 5000MB
max-request-size: 20000MB
datasource:
druid:
url: jdbc:mysql://172.31.100.91:3667/main-data?useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: root
password: "e0808f60c"
driver-class-name: com.mysql.cj.jdbc.Driver
max-active: 20
initial-size: 1
max-wait: 60000
min-idle: 1
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 'x'
test-while-idle: true
test-on-borrow: false
test-on-return: false
pool-prepared-statements: true
max-open-prepared-statements: 20
filters: stat, wall
# 监控配置
web-stat-filter:
url-pattern: /*
exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
stat-view-servlet:
url-pattern: /druid/*
reset-enable: false
login-username: sysadmin
login-password: "000000"
redis:
host: r-m5es58vdjd0jgpg5wk.redis.rds.aliyuncs.com
port: 6379
database: 0
timeout: 500ms
lettuce:
shutdown-timeout: 100ms
pool:
max-active: 300
max-wait: -1ms
min-idle: 0
max-idle: 100
password: dyCwsMWDeKfo3JDC
rabbitmq:
cache:
channel:
checkout-timeout: 1s
addresses: 172.31.100.94:5672,172.31.100.107:5672,172.31.100.108:5672
username: zn_tech
password: zn_tech
connection-timeout: 60s
publisher-confirms: true
publisher-returns: true
listener:
simple:
acknowledge-mode: manual
concurrency: 1
max-concurrency: 20
retry:
enabled: true
cloud:
inetutils:
preferred-networks:
- 172.31.100.
ignoredInterfaces:
- docker0
- veth.*
# 权限配置
security:
ignored: |
/css/**,/js/**,/favicon.ico,/webjars/**,/images/**,
/hystrix.stream/**,/info,/error,/actuator/**,/health,/env,/metrics,/trace,/dump,
/jolokia,/configprops,/activiti,/logfile,/refresh,/flyway,/liquibase,/loggers,
/user/name/**,/user/phone/**,/role/user/**,/menu/user/*,/client/all,
/webjars/**,/resources/**,/swagger-ui.html,/swagger-resources/**,/v2/api-docs
oauth2:
resource:
jwt:
key-uri: http://172.31.100.94:18001/auth/oauth/token_key
id: ${spring.application.name}
serviceId: ${spring.application.name}
# mybatis 配置
#mybatis:
# type-aliases-package: com.zntech.datacenter.api.mapper.model
# mapper-locations: classpath:mybatis/mapper/*.xml
# mybatis plus
mybatis-plus:
mapper-locations: classpath:mapper/*Mapper.xml
# 实体扫描,多个package用逗号或者分号分隔
type-aliases-package: com.zntech.ucenter.api.mapper.model
#logging:
# file: logs/main-data.log
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shenwa/cpms-config.git
git@gitee.com:shenwa/cpms-config.git
shenwa
cpms-config
cpms-config
master

搜索帮助