registration-dev.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. properties:
  14. jadira.usertype.autoRegisterUserTypes: true
  15. javax.persistence.schema-generation.database.action: none
  16. javax.persistence.schema-generation.create-source: metadata
  17. javax.persistence.schema-generation.scripts.action: drop-and-create
  18. javax.persistence.schema-generation.scripts.create-target: create.sql
  19. javax.persistence.schema-generation.scripts.drop-target: drop.sql
  20. mail:
  21. host: smtp.gmail.com
  22. port: 587
  23. username: demo.exist.pemc@gmail.com
  24. # please provide the password
  25. password: $pockTest
  26. properties:
  27. mail.smtp.auth: true
  28. mail.debug: true
  29. mail.smtp.starttlls.enable: true
  30. mail.smtp.starttls.required: true
  31. #we dont need spring mvc here
  32. freemarker:
  33. enabled: false
  34. template-loader-path: classpath:/mail/templates
  35. security:
  36. oauth2:
  37. resource:
  38. userInfoUri: http://localhost:8090/user
  39. server:
  40. port: 8081
  41. undertow:
  42. accesslog:
  43. dir: target/logs
  44. enabled: true
  45. pattern: combined
  46. compression:
  47. enabled: true
  48. min-response-size: 1
  49. jackson:
  50. # for further customization please consult the documentation:
  51. # http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-customize-the-jackson-objectmapper
  52. # https://github.com/FasterXML/jackson-databind/wiki
  53. # deserialization:
  54. # FAIL_ON_UNKNOWN_PROPERTIES: true
  55. # DEFAULT_VIEW_INCLUSION: true
  56. storage:
  57. file:
  58. rootFolder: registration-dir