# WEB服务器配置 server: port: 10012 servlet: session: timeout: PT3H #表示12小时 spring: # 数据源配置 datasource: url: jdbc:mysql://rm-uf6l6299uu7mefd747o.mysql.rds.aliyuncs.com:3306/huizhi_mes?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8 # url: jdbc:mysql://rm-uf6l6299uu7mefd74.mysql.rds.aliyuncs.com:3306/huizhi_mes?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8 username: huizhirds2 password: huizhi168 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-uf6cnlxxc6ccz5ktn7.redis.rds.aliyuncs.com host: r-uf6cnlxxc6ccz5ktn7pd.redis.rds.aliyuncs.com port: 6379 password: huizhi:huizhi@168 timeout: 5000 # 连接池中的最小空闲连接 rocketmq: # name-server: MQ_INST_1192607506254616_BYF2iMz7.cn-shanghai.mq-internal.aliyuncs.com:8080 # namesrvAddr: http://1648218008617197.mqrest.cn-shanghai-internal.aliyuncs.com # namesrvAddr: http://1648218008617197.mqrest.cn-shanghai.aliyuncs.com namesrvAddr: http://MQ_INST_1648218008617197_BYIIN78t.cn-shanghai.mq.aliyuncs.com:80 accessKey: LTAI5tF18L7FsLRQ2DyZ7t52 secretKey: Rd7S8liufTBbV6kDvkpeIdJH1mhYMr groupId: GID_huizhitcp topic: huizhiMes instanceId: MQ_INST_1648218008617197_BYIIN78t knife4j: enable: true basic: enable: true username: admin password: 111111 debug_model: true captcha_check: true # Swagger配置 swagger: host: title: ${project.name}接口文档 description: ${project.name}接口文档 enabled: true # 禁用swagger时的重定向地址 redirect-uri: /