application-dev.yml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. spring:
  2. # datasource:
  3. # type: com.zaxxer.hikari.HikariDataSource
  4. # driver-class-name: com.mysql.cj.jdbc.Driver
  5. # url: jdbc:mysql://106.53.222.208:3306/foster?serverTimezone=GMT%2B8&characterEncoding=utf-8
  6. # username: foster
  7. # password: tKLGm42dSzaaNJPK
  8. datasource:
  9. type: com.alibaba.druid.pool.DruidDataSource
  10. driver-class-name: com.mysql.cj.jdbc.Driver
  11. url: jdbc:mysql://106.53.222.208:3306/foster?serverTimezone=GMT%2B8&characterEncoding=utf-8
  12. username: foster
  13. password: tKLGm42dSzaaNJPK
  14. druid:
  15. initial-size: 5
  16. min-idle: 5
  17. max-active: 20
  18. max-wait: 30000
  19. time-between-eviction-runs-millis: 60000
  20. min-evictable-idle-time-millis: 300000
  21. validation-query: SELECT 1 FROM DUAL
  22. test-while-idle: true
  23. test-on-borrow: false
  24. test-on-return: false
  25. pool-prepared-statements: true
  26. max-pool-prepared-statement-per-connection-size: 20
  27. redis:
  28. database: 1
  29. host: 106.53.222.208
  30. lettuce:
  31. pool:
  32. max-active: 20
  33. max-wait: -1
  34. password: flyer_foster
  35. mybatis-plus:
  36. configuration:
  37. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  38. sa-token:
  39. # token 名称(同时也是 cookie 名称)
  40. token-name: token
  41. # token 有效期(单位:秒) 默认30天,-1 代表永久有效
  42. timeout: 2592000
  43. # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
  44. active-timeout: -1
  45. # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
  46. is-concurrent: true
  47. # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
  48. is-share: true
  49. # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
  50. token-style: uuid
  51. # 是否输出操作日志
  52. is-log: true
  53. use-local-private-key: true
  54. rsa-private-key: MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAIbvJIya52tj9POUUqqBPXQLuRXlkD+6afWC6ZX4Q3bSbmv+O+1BfFHdDoEuSsxydckTQckwQ5n+LQRC6pdldHpJxwaahMwOGQPS9XbrHy/7d6IIdkvG7+sv89W87kG2RrWXG8eaCBvxJHABOGf6q+N5PvwiL7gemba432qzoO1xAgMBAAECgYAWwDefZXbjioUAlN+jVAsyh897O6uosxuug5Yy7Rsi67QmjUU5abM2cllBurZt5lapwo9zBqo/SrX4Y/f98uNChHokiSKTq6EHoyqugu9Sckff1kJfkuTFxnNu0LFLnYlMb4NdMWB5S2PTyZh/GdvW48SMov1Yt+U5vjNCkfRiCQJBAMDnzHULgirBVYgg6osQwf18vln7MRddFHUb/201K6aNsoHXol86Mg72kERm+bDP9UdJ9x9Upd1stUE5GKqKbhsCQQCzEVaFISQe0fm4izUukxnDus45tlL0DGfqNzYVJzeK0C4b/Uh5LcPMp2ILZTkKovez8Hgp9nZDQx2m+wyNKptjAkBurI7BGDk2DnXkA/6MirDBnjAXr+YaYWy7Q7ToEvlYNTOVCwI9YEYYD531oJ7gsm8m12jQsN/4icX0Ba4BKirBAkEAgNK8V9Jb1gBhky4y+GrDYliF/Gb6jrBOIeXOdrFb9/WE9oXlGaie8CCLHH+Z5dkQMteQ2z+AHSuvrW12vigk2QJAIZDW6/EQmX4B2/w7MCCpNlJqwvUOrN2icbxC73hnjFvGgiRPkAxeSEiEi0Zk9QsYe1ljmRQn6vDyF64dbuUD7Q==
  55. rsa-public-key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCG7ySMmudrY/TzlFKqgT10C7kV5ZA/umn1gumV+EN20m5r/jvtQXxR3Q6BLkrMcnXJE0HJMEOZ/i0EQuqXZXR6SccGmoTMDhkD0vV26x8v+3eiCHZLxu/rL/PVvO5Btka1lxvHmggb8SRwAThn+qvjeT78Ii+4Hpm2uN9qs6DtcQIDAQAB