server: port: 8091 # Spring spring: profiles: active: prod mail: # 邮件配置 host: smtp.qq.com username: imyeyu@qq.com password: saodifhaposjfoas redis: # Redis 数据库 host: dev.vm.imyeyu.test port: 6379 password: database: 0 datasource: # 数据库配置 timiserver: jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/timi_server?serverTimezone=UTC&characterEncoding=UTF-8 username: root password: 123123 driver-class-name: com.mysql.cj.jdbc.Driver forevermc: jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/authme?serverTimezone=UTC&characterEncoding=UTF-8 username: root password: 123123 driver-class-name: com.mysql.cj.jdbc.Driver gitea: jdbc-url: jdbc:mysql://dev.vm.imyeyu.test:3306/authme?serverTimezone=UTC&characterEncoding=UTF-8 username: root password: 123123 driver-class-name: com.mysql.cj.jdbc.Driver data: mongodb: host: dev.vm.imyeyu.test port: 27017 database: db username: root password: qweqwe123 flyway: enabled: true locations: classpath:db/migration/timiserver url: ${spring.datasource.timiserver.jdbc-url} user: ${spring.datasource.timiserver.username} password: ${spring.datasource.timiserver.password} baseline-on-migrate: false validate-on-migrate: true # CORS 跨域 cors: # 允许访问的客户端域名,如:http://web.xxx.com,* 表示不做任何限制(不做任何限制时 allow-credentials 无效) allow-origin: - "http://localhost:8080" # 通知消息队列 notify: queue: mail: enable: false cron: "*/10 * * * * *" default-from: sms: enable: false cron: "*/10 * * * * *" app-id: sign: secret-id: secret-key: wechat: enable: false cron: "*/10 * * * * *" http: enable: false cron: "*/10 * * * * *"