crss-reg-dev.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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: none
  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. server:
  36. port: 8081
  37. security:
  38. oauth2:
  39. client:
  40. accessTokenUri: http://localhost:8082/oauth/access_token
  41. userAuthorizationUri: http://localhost:8082/oauth/authorize
  42. resource:
  43. userInfoUri: http://localhost:8082/user
  44. eureka:
  45. client:
  46. serviceUrl:
  47. defaultZone: http://localhost:8761/eureka/
  48. graylog:
  49. host: localhost