Commit 2387ce43 authored by Ben Anderson's avatar Ben Anderson

Changed nginx and container ports

parent b46fa7d8
......@@ -10,5 +10,5 @@ RUN npm run build
FROM nginx:stable-alpine
COPY --from=build /app/build /usr/share/nginx/html
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
EXPOSE 81
CMD ["nginx", "-g", "daemon off;"]
......@@ -14,10 +14,10 @@ spec:
spec:
containers:
- name: afp-inventory-ui-container
image: nexus.mynisum.com/afp-inventory-ui:20
image: nexus.mynisum.com/afp-inventory-ui:21
imagePullPolicy: Always
ports:
- containerPort: 8081
- containerPort: 80
env:
- name: PROMOTIONS_BACKEND_URI
value: "10.0.191.126:8082"
......@@ -33,7 +33,7 @@ metadata:
spec:
type: LoadBalancer
ports:
- port: 8081
targetPort: 80
- port: 80
targetPort: 81
selector:
app: afp-inventory-ui
server {
listen 80;
listen 81;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
......
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