Allow changing port via env

This commit is contained in:
Lucas Winther
2026-07-10 05:38:00 +02:00
parent c2de4241a4
commit 15bf14728a
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -2,8 +2,9 @@ services:
whisper-web:
build: .
ports:
- "3000:3000"
- "${PORT:-3000}:${PORT:-3000}"
environment:
PORT: "${PORT:-3000}"
# Runtime feature flags (Decisions.md D-015).
AUTH_ENABLED: "true" # set to "false" to disable login/register
volumes: