Replaced http_port by dedicated application port -> Result of previous bugs

This commit is contained in:
2025-02-21 05:20:18 +01:00
parent 9f41e25166
commit 88194ac3d3
32 changed files with 34 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ services:
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
ports:
- "1935:1935" # @todo Add to ports
- "127.0.0.1:{{http_port}}:9000"
- "127.0.0.1:{{ports.localhost.http[application_id]}}:9000"
volumes:
- assets:/app/client/dist
- data:/data

View File

@@ -21,7 +21,7 @@ server {
send_timeout 10m;
#adapt
proxy_pass http://127.0.0.1:{{http_port}};
proxy_pass http://127.0.0.1:{{ports.localhost.http[application_id]}};
}
location / {
@@ -62,7 +62,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://127.0.0.1:{{http_port}};
proxy_pass http://127.0.0.1:{{ports.localhost.http[application_id]}};
}
location /socket.io {