Update frontend_deployment.yaml
env variables in frontend yaml
This commit is contained in:
parent
a9398334f9
commit
eebfee8e7c
|
@ -21,5 +21,10 @@ spec:
|
|||
- name: safeshare-frontend
|
||||
image: amusement3004/safeshare-frontend
|
||||
imagePullPolicy: IfNotPresent
|
||||
env: # Add these environment variables
|
||||
- name: REACT_APP_API_HOST
|
||||
value: safeshare-backend-service # The name of the backend service
|
||||
- name: REACT_APP_API_PORT
|
||||
value: "80" # The port the backend service listens on
|
||||
ports:
|
||||
- containerPort: 3000
|
Loading…
Reference in New Issue