Guest User

Untitled

a guest
Nov 13th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. # Configuracion Spring Boot:
  2. server:
  3. port: 8765
  4.  
  5. spring:
  6. application:
  7. name: consult-excel-api
  8.  
  9. # Configuracion Spring Cloud Config Eureka Client:
  10. cloud:
  11. config:
  12. uri: http://username:password@localhost:9001
  13. profile: eureka-config, mongodb-conexion-config
  14.  
  15. # Configuracion Spring Boot:
  16. server:
  17. port: 9001
  18. spring:
  19.  
  20. # Acceso a la configuracion de Eureka Client:
  21. cloud:
  22. config:
  23. server:
  24. git:
  25. uri: https://gitlab.com/CamiloJC98/servidor-cloud-config.git
  26. username: username
  27. password: password
  28. security:
  29. user:
  30. name: username
  31. password: password
  32.  
  33. version: '3.1'
  34.  
  35. services:
  36. servidor-eureka-config:
  37. image: servidor-eureka-config:latest
  38. ports:
  39. - "8761:8761"
  40. hostname: servidor-eureka-config
  41. environment:
  42. - EUREKA_CLIENT_SERVICE-URL_DEFAULTZONE=http://servidor-eureka-config:8761/eureka
  43.  
  44. servidor-cloud-config:
  45. image: servidor-cloud-config:latest
  46. ports:
  47. - "9001:9001"
  48. hostname: servidor-cloud-config
  49. environment:
  50. - SPRING_CLOUD_CONFIG_URI=http://username:password@servidor-cloud-config:9001
  51.  
  52. gateway-zuul-config:
  53. image: gateway-zuul-config:latest
  54. ports:
  55. - "8762:8762"
  56. hostname: gateway-zuul-config
  57. environment:
  58. - EUREKA_CLIENT_SERVICE-URL_DEFAULTZONE=http://servidor-eureka-config:8761/eureka
  59. depends_on:
  60. - servidor-eureka-config
  61.  
  62. consult-data-api-rest:
  63. image: consult-data-api-rest:latest
  64. ports:
  65. - "8765:8765"
  66. hostname: consult-data-api-rest
  67. environment:
  68. - SPRING_CLOUD_CONFIG_URI=http://username:password@servidor-cloud-config:9001
  69. - EUREKA_CLIENT_SERVICE-URL_DEFAULTZONE=http://servidor-eureka-config:8761/eureka
  70. depends_on:
  71. - servidor-cloud-config
  72. - servidor-eureka-config
  73. - mongodb
  74.  
  75. mongodb:
  76. image: mongo:latest
  77. ports:
  78. - 27017:27017
Add Comment
Please, Sign In to add comment