Commit a178d523 authored by Alex Pinto's avatar Alex Pinto

added nginx config and updated deployment.yaml

parent 318ba35a
...@@ -14,7 +14,7 @@ spec: ...@@ -14,7 +14,7 @@ spec:
spec: spec:
containers: containers:
- name: afp-warehouse-management-ui-container - 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 imagePullPolicy: Always
ports: ports:
- containerPort: 8089 - containerPort: 8089
...@@ -30,6 +30,6 @@ spec: ...@@ -30,6 +30,6 @@ spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
- port: 8089 - port: 8089
targetPort: 3003 targetPort: 80
selector: selector:
app: afp-warehouse-management-ui 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