123456789101112131415161718192021222324252627282930313233 |
- server:
- port: 8080
- eureka:
- client:
- service-url:
- defaultZone: http://${EUREKA}/eureka
- spring:
- application:
- name: spring-cloud-gateway
- cloud:
- gateway:
- discovery:
- locator:
- enabled: true
- globalcors:
- corsConfigurations:
- '[/**]':
- allowedOrigins: "*"
- allowedMethods: "*"
- routes:
- - id: icd-search
- uri: lb://ICD-SEARCH
- predicates:
- - Path=/icd/**
-
- logging:
- level:
- root: WARN
- com.idatabank.springgateway: DEBUG
- #docker run --rm -p 8080:8080 -e EUREKA=192.168.99.100:8761 --name gateway --network api_bridge spring-cloud-gateway
|