# WEB服务器配置 演示环境 server: port: 10021 servlet: session: timeout: PT3H #表示12小时 spring: # 数据源配置 datasource: url: jdbc:mysql://57b57595ddc66.sh.cdb.myqcloud.com:4464/doumee_mes_standard_pro?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8 username: test password: doumee@168 driver-class-name: com.mysql.cj.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource # rabbitmq: # host: amqp-cn-7mz2o4ddz00c.cn-hangzhou.amqp-2.net.mq.amqp.aliyuncs.com # port: 5672 # username: MjphbXFwLWNuLTdtejJvNGRkejAwYzpMVEFJNXQ3QzFjdXJUNnlleGNoc1hMZWo= # password: RkEwNjMzNUM5MTBENzE2QjQyQzE4OTc1ODREMEU5NzA4ODFBMkQ2NjoxNjUwOTU0NjI4MjYx # virtual-host: mqtest # redis: # # database: 0 # host: r-m5ece8e1y7649odr2xpd.redis.rds.aliyuncs.com # port: 6379 # password: doumee:doumee@168 # timeout: 5000 # 连接池中的最小空闲连接 redis: # database: 0 host: 127.0.0.1 port: 6379 password: timeout: 5000 # 连接池中的最小空闲连接 knife4j: enable: true basic: enable: true username: admin password: doumee@168.com debug_model: true captcha_check: true # Swagger配置 swagger: host: title: ${project.name}接口文档 description: ${project.name}接口文档 enabled: true # 禁用swagger时的重定向地址 redirect-uri: /