Amend port

This commit is contained in:
2025-07-17 13:12:10 +02:00
parent 9c743ed514
commit e895602aa4
3 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ services:
context: ..
dockerfile: docker/Dockerfile
ports:
- "7070:7070"
- "80:80"
depends_on:
- be
environment:

View File

@@ -2,7 +2,7 @@
set -e
: "${API_HOST:=http://localhost}"
: "${API_PORT:=7070}"
: "${API_PORT:=80}"
# Create runtime config file in writable location
cat > /runtime-config/config.js <<EOF
window.__APP_CONFIG__ = {

View File

@@ -32,7 +32,7 @@ http {
}
server {
listen 7070;
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
@@ -57,7 +57,7 @@ http {
}
location /api/ {
proxy_pass http://backend:8080/;
proxy_pass http://backend;
# Headers for both simple and preflight requests
add_header 'Access-Control-Allow-Origin' '$http_origin' always;