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

View File

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

View File

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

View File

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