Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
inventory-promotion-react
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
inventory-promotion-react
Commits
2387ce43
Commit
2387ce43
authored
May 20, 2021
by
Ben Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed nginx and container ports
parent
b46fa7d8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Dockerfile
Dockerfile
+1
-1
deployment.yaml
deployment.yaml
+4
-4
nginx.conf
nginx/nginx.conf
+1
-1
No files found.
Dockerfile
View file @
2387ce43
...
...
@@ -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
8
0
EXPOSE
8
1
CMD
["nginx", "-g", "daemon off;"]
deployment.yaml
View file @
2387ce43
...
...
@@ -14,10 +14,10 @@ spec:
spec
:
containers
:
-
name
:
afp-inventory-ui-container
image
:
nexus.mynisum.com/afp-inventory-ui:2
0
image
:
nexus.mynisum.com/afp-inventory-ui:2
1
imagePullPolicy
:
Always
ports
:
-
containerPort
:
80
81
-
containerPort
:
80
env
:
-
name
:
PROMOTIONS_BACKEND_URI
value
:
"
10.0.191.126:8082"
...
...
@@ -33,7 +33,7 @@ metadata:
spec
:
type
:
LoadBalancer
ports
:
-
port
:
80
81
targetPort
:
8
0
-
port
:
80
targetPort
:
8
1
selector
:
app
:
afp-inventory-ui
nginx/nginx.conf
View file @
2387ce43
server
{
listen
8
0
;
listen
8
1
;
location
/
{
root
/usr/share/nginx/html
;
index
index.html
index.htm
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment