Skip to content

Commit

Permalink
testing 14
Browse files Browse the repository at this point in the history
  • Loading branch information
dasscheman committed Sep 16, 2024
1 parent 71a9904 commit 1082d0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions openshift/config/07_sample-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ spec:
containers:
- name: sample-app
image: ghcr.io/utrechtuniversity/fsw-openshift:develop
imagePullPolicy: Always
ports:
- containerPort: 9000
env:
Expand Down
4 changes: 4 additions & 0 deletions openshift/config/08_sample-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ spec:
ports:
- port: 9000
targetPort: 9000
- port: 7050
targetPort: 7050
- port: 5173
targetPort: 5173
selector:
app: sample-app
1 change: 1 addition & 0 deletions openshift/nginx.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ ADD ./openshift/vhost.conf /etc/nginx/conf.d/default.conf
# Expose port 8443 and start php-fpm server
EXPOSE 8080
EXPOSE 7050
EXPOSE 5173
#CMD ["nginx", "-g", "daemon off;"]
2 changes: 2 additions & 0 deletions openshift/openshift.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,7 @@ RUN chgrp -R 0 /var/www && \

RUN npm install
EXPOSE 7050
EXPOSE 5173

CMD ["php-fpm"]

0 comments on commit 1082d0f

Please sign in to comment.