Skip to content

Commit

Permalink
chore: Update Dockerfile and workflow for Coolify Realtime (v4)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Sep 13, 2024
1 parent 8318598 commit 0cfd8ed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ services:
- coolify
soketi:
container_name: coolify-realtime
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: always
networks:
- coolify
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(`${protocol}//coolify/terminal/auth`, null, {
const response = await axios.post(`http://coolify/terminal/auth`, null, {
headers: {
'Cookie': `${sessionCookieName}=${laravelSession}`,
'X-XSRF-TOKEN': xsrfToken
Expand Down
2 changes: 1 addition & 1 deletion other/nightly/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ services:
- "${SOKETI_PORT:-6001}:6001"
- "6002:6002"
volumes:
- ./storage:/var/www/html/storage
- /data/coolify/ssh:/var/www/html/storage/app/ssh
environment:
APP_NAME: "${APP_NAME:-Coolify}"
SOKETI_DEBUG: "${SOKETI_DEBUG:-false}"
Expand Down
2 changes: 2 additions & 0 deletions other/nightly/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ services:
- coolify
soketi:
container_name: coolify-realtime
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: always
networks:
- coolify
Expand Down

0 comments on commit 0cfd8ed

Please sign in to comment.