forest-gateway.yml 560 B

12345678910111213141516171819202122232425262728293031323334
  1. spring:
  2. redis:
  3. host: 172.16.90.253
  4. database: 0
  5. port: 6379
  6. password: 123456
  7. timeout: 300ms
  8. boot:
  9. admin:
  10. client:
  11. url: http://localhost:9091
  12. management:
  13. endpoints:
  14. web:
  15. exposure:
  16. include: '*'
  17. endpoint:
  18. health:
  19. show-details: always
  20. jwt:
  21. tokenHeader: Authorization
  22. secret: forest-admin-secret
  23. expiration: 604800
  24. tokenHead: Bearer
  25. redis:
  26. database: forest
  27. key:
  28. admin: 'ums:admin'
  29. token: 'ums:token'
  30. resourceList: 'ums:resourceList'
  31. expire:
  32. common: 86400