authentication-dev.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. spring:
  2. datasource:
  3. platform : postgres
  4. url: jdbc:postgresql://localhost:5432/crss_reg
  5. username: crss_reg
  6. password: crss_reg
  7. driverClassName: org.postgresql.Driver
  8. jpa:
  9. database: POSTGRESQL
  10. show-sql: true
  11. hibernate:
  12. ddl-auto: update
  13. mail:
  14. host: smtp.gmail.com
  15. port: 587
  16. username: demo.exist.pemc@gmail.com
  17. # please provide the password
  18. password: $pockTest
  19. properties:
  20. mail.smtp.auth: true
  21. mail.debug: true
  22. mail.smtp.starttlls.enable: true
  23. mail.smtp.starttls.required: true
  24. #we dont need spring mvc here
  25. freemarker:
  26. enabled: false
  27. template-loader-path: classpath:/mail/templates
  28. multipart:
  29. maxFileSize: "25Mb"
  30. maxRequestSize: "25Mb"
  31. storage:
  32. file:
  33. rootFolder: registration-dir
  34. security:
  35. oauth2:
  36. client:
  37. clientId: crss
  38. clientSecret: crsssecret
  39. authorized-grant-types: authorization_code,refresh_token,password
  40. scope: openid
  41. access-token-validity-seconds: 3600
  42. server:
  43. server:
  44. port: 8090
  45. undertow:
  46. accesslog:
  47. dir: target/logs
  48. enabled: true
  49. pattern: combined
  50. compression:
  51. enabled: true
  52. min-response-size: 1