application-prod.yml 795 B

1234567891011121314151617181920212223242526272829303132
  1. server:
  2. port: 8080
  3. # 是否开启API日志 (true|false)
  4. API_LOG: true
  5. spring:
  6. application:
  7. name: test-prod
  8. config:
  9. name: application-prod
  10. datasource:
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. url: jdbc:mysql://172.19.0.16:3306/daogucms?useUnicode=true&
  13. characterEncoding=UTF-8&
  14. useJDBCCompliantTimezoneShift=true&
  15. useLegacyDatetimeCode=false&
  16. serverTimezone=UTC&
  17. allowMultiQueries=true&
  18. rewriteBatchedStatements=true&
  19. useAffectedRows=true
  20. username: root
  21. password: e^mxGHsidcg1
  22. data:
  23. redis:
  24. host: 172.19.0.11
  25. port: 6388
  26. password: j1aK^4A8qdvr
  27. # cache:
  28. # type: redis
  29. # redis:
  30. # time-to-live: 10000 # 缓存的默认过期时间(毫秒)(与 @Cacheable 缓存时间关联)