chore: Update Dockerfile and workflow for Coolify Realtime (v4)
This commit is contained in:
@@ -25,6 +25,8 @@ services:
|
|||||||
- coolify
|
- coolify
|
||||||
soketi:
|
soketi:
|
||||||
container_name: coolify-realtime
|
container_name: coolify-realtime
|
||||||
|
extra_hosts:
|
||||||
|
- 'host.docker.internal:host-gateway'
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- coolify
|
- coolify
|
||||||
|
@@ -33,7 +33,7 @@ const verifyClient = async (info, callback) => {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// Authenticate with Laravel backend
|
// 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: {
|
headers: {
|
||||||
'Cookie': `${sessionCookieName}=${laravelSession}`,
|
'Cookie': `${sessionCookieName}=${laravelSession}`,
|
||||||
'X-XSRF-TOKEN': xsrfToken
|
'X-XSRF-TOKEN': xsrfToken
|
||||||
|
@@ -115,7 +115,7 @@ services:
|
|||||||
- "${SOKETI_PORT:-6001}:6001"
|
- "${SOKETI_PORT:-6001}:6001"
|
||||||
- "6002:6002"
|
- "6002:6002"
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/www/html/storage
|
- /data/coolify/ssh:/var/www/html/storage/app/ssh
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: "${APP_NAME:-Coolify}"
|
APP_NAME: "${APP_NAME:-Coolify}"
|
||||||
SOKETI_DEBUG: "${SOKETI_DEBUG:-false}"
|
SOKETI_DEBUG: "${SOKETI_DEBUG:-false}"
|
||||||
|
@@ -25,6 +25,8 @@ services:
|
|||||||
- coolify
|
- coolify
|
||||||
soketi:
|
soketi:
|
||||||
container_name: coolify-realtime
|
container_name: coolify-realtime
|
||||||
|
extra_hosts:
|
||||||
|
- 'host.docker.internal:host-gateway'
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- coolify
|
- coolify
|
||||||
|
Reference in New Issue
Block a user