fix: change socket port to 3005 (conflict with grafana) and make CI artifacts non-blocking
This commit is contained in:
@@ -114,7 +114,7 @@ OLLAMA_BASE_URL="http://ollama:11434"
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Brainstorm / Socket.io
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
SOCKET_PORT=3002
|
||||
SOCKET_PORT=3005
|
||||
SOCKET_HTTP_PORT=3003
|
||||
SOCKET_INTERNAL_KEY=change-this-to-a-random-secret
|
||||
SOCKET_INTERNAL_URL=http://memento-socket:3003
|
||||
|
||||
@@ -82,6 +82,7 @@ jobs:
|
||||
- name: Upload web artifact
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
uses: actions/upload-artifact@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: web-artifact
|
||||
path: web-artifact.tgz
|
||||
@@ -101,6 +102,7 @@ jobs:
|
||||
|
||||
- name: Download web artifact
|
||||
uses: actions/download-artifact@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: web-artifact
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ services:
|
||||
env_file:
|
||||
- .env.docker
|
||||
ports:
|
||||
- "3002:3002"
|
||||
- "3005:3005"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -17,7 +17,7 @@ export interface ActivityEvent {
|
||||
details: any
|
||||
}
|
||||
|
||||
const SOCKET_URL = process.env.NEXT_PUBLIC_SOCKET_URL || 'http://localhost:3002'
|
||||
const SOCKET_URL = process.env.NEXT_PUBLIC_SOCKET_URL || 'http://localhost:3005'
|
||||
|
||||
export function useBrainstormSocket(
|
||||
sessionId: string | null,
|
||||
|
||||
Reference in New Issue
Block a user