Skip to content

Commit

Permalink
fix routing for router service
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Jul 24, 2019
1 parent 27bf1c2 commit 41b735a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions microservices-rest/router/garden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ services:
- name: http
containerPort: 8085
ingresses:
- path: /router
- path: /l
port: http
- path: /s
port: http
env:
ROUTER_ADDRESS: ":8085"
REPOSITORY_ADDRESS: "http://garden.local/db/"
ROUTER_REPOSITORY: "http://links:8080"

4 changes: 3 additions & 1 deletion microservices-rest/web/garden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ services:
# Use http://<svc_name>:<servicePort> to talk to other services in the cluster.
# servicePort defaults to containerPort if not specified.
WEB_REPOSITORY: "http://links:8080"
WEB_ROUTER: "http://router:8085"
# Here we're using the external hostname since we're accessing the router
# from the web UI
WEB_ROUTER: "http://garden.local"

0 comments on commit 41b735a

Please sign in to comment.