Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Configuracion Spring Boot:
- server:
- port: 8765
- spring:
- application:
- name: consult-excel-api
- # Configuracion Spring Cloud Config Eureka Client:
- cloud:
- config:
- uri: http://username:password@localhost:9001
- profile: eureka-config, mongodb-conexion-config
- # Configuracion Spring Boot:
- server:
- port: 9001
- spring:
- # Acceso a la configuracion de Eureka Client:
- cloud:
- config:
- server:
- git:
- uri: https://gitlab.com/CamiloJC98/servidor-cloud-config.git
- username: username
- password: password
- security:
- user:
- name: username
- password: password
- version: '3.1'
- services:
- servidor-eureka-config:
- image: servidor-eureka-config:latest
- ports:
- - "8761:8761"
- hostname: servidor-eureka-config
- environment:
- - EUREKA_CLIENT_SERVICE-URL_DEFAULTZONE=http://servidor-eureka-config:8761/eureka
- servidor-cloud-config:
- image: servidor-cloud-config:latest
- ports:
- - "9001:9001"
- hostname: servidor-cloud-config
- environment:
- - SPRING_CLOUD_CONFIG_URI=http://username:password@servidor-cloud-config:9001
- gateway-zuul-config:
- image: gateway-zuul-config:latest
- ports:
- - "8762:8762"
- hostname: gateway-zuul-config
- environment:
- - EUREKA_CLIENT_SERVICE-URL_DEFAULTZONE=http://servidor-eureka-config:8761/eureka
- depends_on:
- - servidor-eureka-config
- consult-data-api-rest:
- image: consult-data-api-rest:latest
- ports:
- - "8765:8765"
- hostname: consult-data-api-rest
- environment:
- - SPRING_CLOUD_CONFIG_URI=http://username:password@servidor-cloud-config:9001
- - EUREKA_CLIENT_SERVICE-URL_DEFAULTZONE=http://servidor-eureka-config:8761/eureka
- depends_on:
- - servidor-cloud-config
- - servidor-eureka-config
- - mongodb
- mongodb:
- image: mongo:latest
- ports:
- - 27017:27017
Add Comment
Please, Sign In to add comment