Use env in service manifests for PORT (#212)
* fix shipping service ports * fix product catalog servicde ports * fix paymentservice ports * fix currenservice ports * fix checkoutservice ports * fix emailservice ports * fix frontend app ports * fix recommendationservice ports * fix indentation in service yaml files
This commit is contained in:
parent
876d4f966f
commit
55f5061532
12 changed files with 33 additions and 9 deletions
|
@ -32,6 +32,9 @@ spec:
|
|||
ports:
|
||||
- name: grpc
|
||||
containerPort: 7000
|
||||
env:
|
||||
- name: PORT
|
||||
value: "7000"
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["/bin/grpc_health_probe", "-addr=:7000"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue