fix: change socket port to 3005 (conflict with grafana) and make CI artifacts non-blocking
Some checks failed
CI / Lint, Test & Build (push) Successful in 12m43s
CI / Deploy production (on server) (push) Has been cancelled

This commit is contained in:
Antigravity
2026-05-19 21:06:34 +00:00
parent 450bcc763a
commit 37d9bea7bb
4 changed files with 5 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ OLLAMA_BASE_URL="http://ollama:11434"
# ───────────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────────
# Brainstorm / Socket.io # Brainstorm / Socket.io
# ───────────────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────────────
SOCKET_PORT=3002 SOCKET_PORT=3005
SOCKET_HTTP_PORT=3003 SOCKET_HTTP_PORT=3003
SOCKET_INTERNAL_KEY=change-this-to-a-random-secret SOCKET_INTERNAL_KEY=change-this-to-a-random-secret
SOCKET_INTERNAL_URL=http://memento-socket:3003 SOCKET_INTERNAL_URL=http://memento-socket:3003

View File

@@ -82,6 +82,7 @@ jobs:
- name: Upload web artifact - name: Upload web artifact
if: github.ref == 'refs/heads/main' && github.event_name == 'push' if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
continue-on-error: true
with: with:
name: web-artifact name: web-artifact
path: web-artifact.tgz path: web-artifact.tgz
@@ -101,6 +102,7 @@ jobs:
- name: Download web artifact - name: Download web artifact
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
continue-on-error: true
with: with:
name: web-artifact name: web-artifact

View File

@@ -99,7 +99,7 @@ services:
env_file: env_file:
- .env.docker - .env.docker
ports: ports:
- "3002:3002" - "3005:3005"
environment: environment:
- NODE_ENV=production - NODE_ENV=production
restart: unless-stopped restart: unless-stopped

View File

@@ -17,7 +17,7 @@ export interface ActivityEvent {
details: any 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( export function useBrainstormSocket(
sessionId: string | null, sessionId: string | null,