Skip to content

Commit

Permalink
Use External Port 8080 for GUI
Browse files Browse the repository at this point in the history
Remove extra nginx configuration for gui container and use default
internal port 8080.
  • Loading branch information
EmteZogaf committed Apr 4, 2024
1 parent 6a86267 commit c6e1c13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
5 changes: 2 additions & 3 deletions feasibility-portal/gui/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
services:
dataportal-ui:
image: ghcr.io/medizininformatik-initiative/feasibility-gui:5.0.0-alpha.1
ports:
- "80:80"
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./deploy-config.json:/usr/share/nginx/html/assets/config/config.deploy.json
- ./language/de.json:/usr/share/nginx/html/assets/i18n/de.json
- ./language/en.json:/usr/share/nginx/html/assets/i18n/en.json
15 changes: 0 additions & 15 deletions feasibility-portal/gui/nginx.conf

This file was deleted.

2 changes: 1 addition & 1 deletion feasibility-portal/proxy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ add_header X-Content-Type-Options nosniff;
server_name datenportal.localhost;

location / {
proxy_pass http://dataportal-ui:80/;
proxy_pass http://dataportal-ui:8080/;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
Expand Down

0 comments on commit c6e1c13

Please sign in to comment.