frontend: use LISTEN_ADDR, refactor Listen code

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-07-16 10:21:41 -07:00
parent 7b35fb1291
commit ab2b15723c
2 changed files with 13 additions and 3 deletions

View file

@ -42,6 +42,8 @@ spec:
value: "shippingservice:50051"
- name: CHECKOUT_SERVICE_ADDR
value: "checkoutservice:5050"
- name: LISTEN_ADDR
value: "0.0.0.0"
resources:
requests:
cpu: 100m