Merge pull request #4608 from peaklabs-dev/fix-port-80

Fix: bind() to 0.0.0.0:80 failed
This commit is contained in:
Andras Bacsai
2024-12-17 11:32:47 +01:00
committed by GitHub
6 changed files with 5 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ services:
- USER_ID=${USERID:-1000} - USER_ID=${USERID:-1000}
- GROUP_ID=${GROUPID:-1000} - GROUP_ID=${GROUPID:-1000}
ports: ports:
- "${APP_PORT:-8000}:80" - "${APP_PORT:-8000}:8080"
environment: environment:
AUTORUN_ENABLED: false AUTORUN_ENABLED: false
PUSHER_HOST: "${PUSHER_HOST}" PUSHER_HOST: "${PUSHER_HOST}"

View File

@@ -54,7 +54,7 @@ services:
- SSH_MUX_ENABLED - SSH_MUX_ENABLED
- SSH_MUX_PERSIST_TIME - SSH_MUX_PERSIST_TIME
ports: ports:
- "${APP_PORT:-8000}:80" - "${APP_PORT:-8000}:8080"
expose: expose:
- "${APP_PORT:-8000}" - "${APP_PORT:-8000}"
healthcheck: healthcheck:

View File

@@ -33,7 +33,7 @@ const verifyClient = async (info, callback) => {
try { try {
// Authenticate with Laravel backend // Authenticate with Laravel backend
const response = await axios.post(`http://coolify/terminal/auth`, null, { const response = await axios.post(`http://coolify:8080/terminal/auth`, null, {
headers: { headers: {
'Cookie': `${sessionCookieName}=${laravelSession}`, 'Cookie': `${sessionCookieName}=${laravelSession}`,
'X-XSRF-TOKEN': xsrfToken 'X-XSRF-TOKEN': xsrfToken

View File

@@ -1,5 +1,3 @@
listen 80 default_server;
listen [::]:80 default_server;
listen 8080 default_server; listen 8080 default_server;
listen [::]:8080 default_server; listen [::]:8080 default_server;

View File

@@ -1,5 +1,3 @@
listen 80 default_server;
listen [::]:80 default_server;
listen 8080 default_server; listen 8080 default_server;
listen [::]:8080 default_server; listen [::]:8080 default_server;

View File

@@ -54,7 +54,7 @@ services:
- SSH_MUX_ENABLED - SSH_MUX_ENABLED
- SSH_MUX_PERSIST_TIME - SSH_MUX_PERSIST_TIME
ports: ports:
- "${APP_PORT:-8000}:80" - "${APP_PORT:-8000}:8080"
expose: expose:
- "${APP_PORT:-8000}" - "${APP_PORT:-8000}"
healthcheck: healthcheck:
@@ -93,7 +93,7 @@ services:
retries: 10 retries: 10
timeout: 2s timeout: 2s
soketi: soketi:
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.4' image: 'ghcr.io/coollabsio/coolify-realtime:next'
ports: ports:
- "${SOKETI_PORT:-6001}:6001" - "${SOKETI_PORT:-6001}:6001"
- "6002:6002" - "6002:6002"