@@ -10,7 +10,7 @@ spring:
1010 # # Rest client -> http://localhost:5004/auth/login
1111 # # api gateway -> http://auth-service:4005/login
1212 - id : auth-service-route
13- uri : http://host.docker.internal :4005 #
13+ uri : http://auth-service :4005 #
1414 predicates :
1515 # sends request to auth-service if the url has auth in it
1616 - Path=/auth/**
@@ -23,7 +23,7 @@ spring:
2323 # # patient service (Spring Boot app) -> /patients -> Patients Array
2424 - id : patient-service-route
2525 # where the request ends up
26- uri : http://host.docker.internal :5000
26+ uri : http://patient-service :5000
2727 # determine what request is sent to patient-service
2828 predicates :
2929 - Path=/api/patients/**
@@ -36,7 +36,7 @@ spring:
3636 # # api gateway -> http://patient-service:5000/v3/api-docs
3737 - id : api-docs-patient-route
3838 # where the request ends up
39- uri : http://host.docker.internal :5000
39+ uri : http://patient-service :5000
4040 # determine what request is sent to patient-service
4141 predicates :
4242 - Path=/api-docs/patients
@@ -51,7 +51,7 @@ spring:
5151 # # api gateway -> http://auth-service:4005/v3/api-docs
5252 - id : api-docs-auth-route
5353 # where the request ends up
54- uri : http://host.docker.internal :4005
54+ uri : http://auth-service :4005
5555 # determine what request is sent to patient-service
5656 predicates :
5757 - Path=/api-docs/auth
0 commit comments