Skip to content

Commit

Permalink
port numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
dasscheman committed Dec 24, 2024
1 parent 38c1959 commit b75446c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openshift/config/13_nginx-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ spec:
app: nginx
ports:
- protocol: TCP
port: 8080
port: 80
targetPort: 8080
2 changes: 1 addition & 1 deletion openshift/config/14_sample-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ spec:
service:
name: nginx
port:
number: 8080
number: 80
1 change: 1 addition & 0 deletions openshift/nginx.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM nginxinc/nginx-unprivileged:stable-alpine

ADD ./openshift/vhost.conf /etc/nginx/conf.d/default.conf

EXPOSE 80
EXPOSE 8080
EXPOSE 7050
EXPOSE 5173
Expand Down
2 changes: 2 additions & 0 deletions openshift/openshift.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ RUN chgrp -R 0 /var/www && \
chmod -R g=u /var/www

RUN npm install

EXPOSE 80
EXPOSE 8080
EXPOSE 9000
EXPOSE 7050
Expand Down
4 changes: 2 additions & 2 deletions openshift/vhost.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
server {
listen 8080;
listen [::]:8080;
listen 80;
listen [::]:80;
server_name app.openshift.fss.uu.nl;

root /var/www/public;
Expand Down

0 comments on commit b75446c

Please sign in to comment.