chore: Update Dockerfile and workflow for Coolify Realtime (v4)

This commit is contained in:
Andras Bacsai
2024-09-13 13:46:10 +02:00
parent 8318598cb5
commit 0cfd8ed5f0
4 changed files with 6 additions and 2 deletions

View File

@@ -25,6 +25,8 @@ services:
- coolify
soketi:
container_name: coolify-realtime
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: always
networks:
- coolify

View File

@@ -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

View File

@@ -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}"

View File

@@ -25,6 +25,8 @@ services:
- coolify
soketi:
container_name: coolify-realtime
extra_hosts:
- 'host.docker.internal:host-gateway'
restart: always
networks:
- coolify