Advertisement
Guest User

Home configuration

a guest
Dec 25th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. server:
  2. port: ${PORT:2224}
  3.  
  4. spring:
  5. application:
  6. name: auth
  7. datasource:
  8. primary:
  9. test-on-borrow: true
  10. validationQuery: SELECT 1
  11. driver-class-name: com.mysql.jdbc.Driver
  12. url: jdbc:mysql://localhost/nutibara
  13. username: root
  14. password:
  15. secondary:
  16. test-on-borrow: true
  17. validationQuery: SELECT 1
  18. driver-class-name: com.mysql.jdbc.Driver
  19. url: jdbc:mysql://localhost/nutibara2
  20. username: root
  21. password:
  22.  
  23. jpa:
  24. show-sql: true
  25. properties:
  26. org.hibernate.envers.audit_table_suffix: _Log
  27. org.hibernate.envers.default_catalog: nutibara2
  28. hibernate:
  29. dialect: org.hibernate.dialect.MySQLDialect
  30. use_sql_comments: true
  31. format_sql: true
  32. show-sql: true
  33. hibernate:
  34. naming-strategy: org.hibernate.cfg.EJB3NamingStrategy
  35. ddl-auto: update
  36.  
  37. eureka:
  38. client:
  39. registerWithEureka: true
  40. fetch-registry: true
  41. serviceUrl:
  42. defaultZone: ${DISCOVERY_URL:http://localhost:8761}/eureka/
  43. instance:
  44. leaseRenewalIntervalInSeconds: 1
  45. leaseExpirationDurationInSeconds: 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement