crss-reg-dev.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: false
  11. hibernate:
  12. ddl-auto: none
  13. properties:
  14. hibernate:
  15. dialect: org.hibernate.dialect.PostgreSQL94Dialect
  16. jadira.usertype.autoRegisterUserTypes: true
  17. javax.persistence.schema-generation.database.action: none
  18. javax.persistence.schema-generation.create-source: metadata
  19. javax.persistence.schema-generation.scripts.action: drop-and-create
  20. javax.persistence.schema-generation.scripts.create-target: create.sql
  21. javax.persistence.schema-generation.scripts.drop-target: drop.sql
  22. mail:
  23. host: smtp.gmail.com
  24. port: 587
  25. username: demo.exist.pemc@gmail.com
  26. # please provide the password
  27. password: $pockTest
  28. properties:
  29. mail.smtp.auth: true
  30. mail.debug: true
  31. mail.smtp.starttlls.enable: true
  32. mail.smtp.starttls.required: true
  33. #we dont need spring mvc here
  34. freemarker:
  35. enabled: false
  36. template-loader-path: classpath:/mail/templates
  37. server:
  38. port: 8081
  39. security:
  40. oauth2:
  41. client:
  42. accessTokenUri: http://localhost:8082/oauth/access_token
  43. userAuthorizationUri: http://localhost:8082/oauth/authorize
  44. resource:
  45. userInfoUri: http://localhost:8082/user
  46. eureka:
  47. client:
  48. serviceUrl:
  49. defaultZone: http://localhost:8761/eureka/
  50. graylog:
  51. host: localhost