Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: centralize whisper server port mapping (#5218)
[._.]/ Adam Eivy0b72f67f594d
diff --git a/docs/PORTS.md b/docs/PORTS.mdindex fa4505e51a..c3b0e57e1f 100644--- a/docs/PORTS.md+++ b/docs/PORTS.md@@ -34,6 +34,7 @@ Common port labels:| 5559 | portos-autofixer | api | Autofixer daemon API || 5560 | portos-autofixer-ui | ui | Autofixer web UI || 5561 | portos-db (Docker container) | - | Infrastructure dependency: PostgreSQL Docker container provisioned by `scripts/setup-db.js` / Docker Compose (not a PM2 process in `server/services/apps.js`; native mode uses system pg on 5432). |+| 5562 | portos-whisper | whisper-server | Loopback whisper.cpp speech-to-text server. || 5568 | portos-llama-server | - | Loopback llama.cpp speculative-decoding server. Optional PM2 process, started/stopped from Models → LLMs. || 8000 | portos-mtplx | - | Loopback MTPLX OpenAI-compatible API (upstream's own default, kept so the shipped provider presets match). Optional PM2 process, started/stopped from Models → LLMs. See [features/mtplx.md](./features/mtplx.md). || 18020 | vLLM (Docker) | - | Loopback vLLM Qwen3.8-27B / DFlash 2 container on an RTX 3090 host. Operator-started (`docker compose --profile single up -d`) — PortOS never brings it up on boot. See [features/qwen38-rtx3090.md](./features/qwen38-rtx3090.md). |diff --git a/ecosystem.config.cjs b/ecosystem.config.cjsindex 9c1337f72a..be3c06d7cf 100644--- a/ecosystem.config.cjs+++ b/ecosystem.config.cjs@@ -48,6 +48,7 @@ const PORTS = {AUTOFIXER: 5559, // Autofixer APIAUTOFIXER_UI: 5560, // Autofixer UIPOSTGRES_DOCKER: 5561, // PostgreSQL Docker container (host port mapping)+ WHISPER: 5562, // Loopback whisper.cpp speech-to-text serverLLAMA_SERVER: 5568, // Loopback llama.cpp speculative-decoding serverVLLM_QWEN: 18020, // Loopback vLLM Qwen3.8-27B (DFlash 2) container — started by the operator, never by PortOSSGLANG_QWEN: 18021, // Loopback SGLang Qwen3.8-27B container (Hopper/Blackwell) — started by the operator, never by PortOSdiff --git a/server/lib/ports.js b/server/lib/ports.jsindex 6fb8a3f39a..7f5bd1ea9e 100644--- a/server/lib/ports.js+++ b/server/lib/ports.js@@ -15,6 +15,7 @@ export const PORTS = {AUTOFIXER: 5559, // Autofixer APIAUTOFIXER_UI: 5560, // Autofixer UIPOSTGRES_DOCKER: 5561, // PostgreSQL Docker container (host port mapping)+ WHISPER: 5562, // Loopback whisper.cpp speech-to-text serverLLAMA_SERVER: 5568, // Loopback llama.cpp speculative-decoding serverVLLM_QWEN: 18020, // Loopback vLLM Qwen3.8-27B (DFlash 2) container — operator-started, never by PortOSSGLANG_QWEN: 18021, // Loopback SGLang Qwen3.8-27B container (Hopper/Blackwell) — operator-started, never by PortOSdiff --git a/server/services/voice/config.js b/server/services/voice/config.jsindex 5cf28d0f7c..0b0c12d76c 100644--- a/server/services/voice/config.js+++ b/server/services/voice/config.js@@ -7,6 +7,7 @@ import { join } from 'path';import { getSettings, updateSettings } from '../settings.js';import { deepMerge } from '../../lib/objects.js';import { expandHome } from '../../lib/fileUtils.js';+import { PORTS } from '../../lib/ports.js';const VOICE_HOME = join(homedir(), '.portos', 'voice');@@ -23,7 +24,7 @@ export const VOICE_DEFAULTS = Object.freeze({engine: 'web-speech', // 'whisper' | 'web-speech'// 5562 keeps whisper inside PortOS's own 55xx port band. Avoid 8080 —// IPFS, Supabase Studio, Tomcat, etc. commonly squat on it.- endpoint: 'http://127.0.0.1:5562',+ endpoint: `http://127.0.0.1:${PORTS.WHISPER}`,model: 'base.en',modelPath: '~/.portos/voice/models/ggml-base.en.bin',language: 'en',