Commit a178d523 authored by Alex Pinto's avatar Alex Pinto

added nginx config and updated deployment.yaml

parent 318ba35a
......@@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: afp-warehouse-management-ui-container
image: nexus.mynisum.com/afp-warehouse-management-ui:1
image: nexus.mynisum.com/afp-warehouse-management-ui:2
imagePullPolicy: Always
ports:
- containerPort: 8089
......@@ -30,6 +30,6 @@ spec:
type: LoadBalancer
ports:
- port: 8089
targetPort: 3003
targetPort: 80
selector:
app: afp-warehouse-management-ui
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment