Skip to content

Commit c80717e

Browse files
authored
Merge pull request #538 from chetanr25/transcribe_fix
Fixed whisper and ollama URL in .env.example. Fix #537
2 parents c87ab2e + b590069 commit c80717e

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

docker/.env.example

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
1-
# Copy this file to .env.dev or .env.prod and fill in values.
2-
# Never commit .env.dev or .env.prod — they are gitignored.
1+
# Copy this file to .env.dev and fill in values.
32

43
# --- App ------------------------------------------------------------------
54
APP_PORT=8000
65

76
# --- Ollama ---------------------------------------------------------------
87
# Ollama runs in Docker with port mapped to host. App runs on host.
98
# Override to point at an external Ollama instance (e.g. a GPU server).
10-
OLLAMA_HOST=http://localhost:11434
9+
OLLAMA_HOST=http://ollama:11434
1110
OLLAMA_MODEL=qwen2.5:1.5b
1211
OLLAMA_TIMEOUT=300
1312

1413
# --- Whisper --------------------------------------------------------------
1514
# Whisper runs in Docker with port mapped to host. App runs on host.
1615
# Override to point at an external Whisper endpoint.
17-
WHISPER_HOST=http://localhost:9000
16+
WHISPER_HOST=http://whisper:9000
1817
WHISPER_MODEL=small.en
1918

2019
# --- Gunicorn (prod only) -------------------------------------------------
2120
GUNICORN_WORKERS=2
2221

2322
# --- CORS -----------------------------------------------------------------
2423
# Comma-separated list of allowed frontend origins.
25-
# Dev: http://localhost:5173,http://127.0.0.1:5173
26-
# Prod: https://your-domain.com
2724
FRONTEND_ORIGINS=http://localhost:5173,http://127.0.0.1:5173

0 commit comments

Comments
 (0)