chore: Update Dockerfile and workflow for Coolify Realtime (v4)
This commit is contained in:
@@ -25,6 +25,8 @@ services:
|
||||
- coolify
|
||||
soketi:
|
||||
container_name: coolify-realtime
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
restart: always
|
||||
networks:
|
||||
- coolify
|
||||
|
@@ -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
|
||||
|
@@ -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}"
|
||||
|
@@ -25,6 +25,8 @@ services:
|
||||
- coolify
|
||||
soketi:
|
||||
container_name: coolify-realtime
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
restart: always
|
||||
networks:
|
||||
- coolify
|
||||
|
Reference in New Issue
Block a user