Skip to content

Commit

Permalink
Merge pull request #4608 from peaklabs-dev/fix-port-80
Browse files Browse the repository at this point in the history
Fix: bind() to 0.0.0.0:80 failed
  • Loading branch information
andrasbacsai authored Dec 17, 2024
2 parents b774847 + a5b4174 commit 43be0f4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- USER_ID=${USERID:-1000}
- GROUP_ID=${GROUPID:-1000}
ports:
- "${APP_PORT:-8000}:80"
- "${APP_PORT:-8000}:8080"
environment:
AUTORUN_ENABLED: false
PUSHER_HOST: "${PUSHER_HOST}"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
- SSH_MUX_ENABLED
- SSH_MUX_PERSIST_TIME
ports:
- "${APP_PORT:-8000}:80"
- "${APP_PORT:-8000}:8080"
expose:
- "${APP_PORT:-8000}"
healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion docker/coolify-realtime/terminal-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const verifyClient = async (info, callback) => {

try {
// 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: {
'Cookie': `${sessionCookieName}=${laravelSession}`,
'X-XSRF-TOKEN': xsrfToken
Expand Down
2 changes: 0 additions & 2 deletions docker/development/etc/nginx/site-opts.d/http.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
listen 80 default_server;
listen [::]:80 default_server;
listen 8080 default_server;
listen [::]:8080 default_server;

Expand Down
2 changes: 0 additions & 2 deletions docker/production/etc/nginx/site-opts.d/http.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
listen 80 default_server;
listen [::]:80 default_server;
listen 8080 default_server;
listen [::]:8080 default_server;

Expand Down
4 changes: 2 additions & 2 deletions other/nightly/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
- SSH_MUX_ENABLED
- SSH_MUX_PERSIST_TIME
ports:
- "${APP_PORT:-8000}:80"
- "${APP_PORT:-8000}:8080"
expose:
- "${APP_PORT:-8000}"
healthcheck:
Expand Down Expand Up @@ -93,7 +93,7 @@ services:
retries: 10
timeout: 2s
soketi:
image: 'ghcr.io/coollabsio/coolify-realtime:1.0.4'
image: 'ghcr.io/coollabsio/coolify-realtime:next'
ports:
- "${SOKETI_PORT:-6001}:6001"
- "6002:6002"
Expand Down

0 comments on commit 43be0f4

Please sign in to comment.