Skip to content

Commit

Permalink
fix: bind() to 0.0.0.0:80 failed
Browse files Browse the repository at this point in the history
  • Loading branch information
peaklabs-dev committed Dec 23, 2024
1 parent 1f6c614 commit e51207a
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion config/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

return [
'coolify' => [
'version' => '4.0.0-beta.379',
'version' => '4.0.0-beta.380',
'self_hosted' => env('SELF_HOSTED', true),
'autoupdate' => env('AUTOUPDATE'),
'base_config_path' => env('BASE_CONFIG_PATH', '/data/coolify'),
Expand Down
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
4 changes: 2 additions & 2 deletions 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:1.0.5'
ports:
- "${SOKETI_PORT:-6001}:6001"
- "6002:6002"
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:1.0.5'
ports:
- "${SOKETI_PORT:-6001}:6001"
- "6002:6002"
Expand Down
4 changes: 2 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"coolify": {
"v4": {
"version": "4.0.0-beta.379"
"version": "4.0.0-beta.380"
},
"nightly": {
"version": "4.0.0-beta.380"
"version": "4.0.0-beta.381"
},
"helper": {
"version": "1.0.4"
Expand Down

0 comments on commit e51207a

Please sign in to comment.