Guest User

Untitled

a guest
Mar 23rd, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. server:
  2. port: 8761
  3.  
  4. eureka:
  5. client:
  6. registerWithEureka: false
  7. fetchRegistry: false
  8.  
  9. spring:
  10. application:
  11. name: eureka-service
  12.  
  13. spring.jpa.hibernate.ddl-auto=update
  14. spring.datasource.url=jdbc:mysql://localhost:3306/shop
  15. spring.datasource.username=shop
  16. spring.datasource.password=shop
  17. server.port=8080
  18.  
  19. server:
  20. port: 8080
  21.  
  22. eureka:
  23. client:
  24. registerWithEureka: true
  25. fetchRegistry: true
  26.  
  27. spring:
  28. application:
  29. name: articlemicroservice
  30.  
  31. eureka:
  32. client:
  33. serviceUrl:
  34. defaultZone: http://192.168.88.100:8761/ //IP:port where the VM and
  35. the eureka service is
  36. running
  37.  
  38. spring:
  39. jpa:
  40. database: MYSQL
  41. hibernate:
  42. ddl-auto: validate
  43.  
  44. datasource:
  45. url: jdbc:mysql://mysql:3306/shop
  46. username: shop
  47. password: shop
  48. driver-class-name: com.mysql.jdbc.Driver
Add Comment
Please, Sign In to add comment