fixed .env

This commit is contained in:
2026-06-09 10:19:37 +03:00
parent f0fda693d8
commit 94735fd540
3 changed files with 42 additions and 8 deletions
+22 -3
View File
@@ -1,6 +1,12 @@
# Server
PORT=8080
# Server (internal bind inside containers)
HOST=0.0.0.0
BACKEND_INTERNAL_PORT=8080
FRONTEND_INTERNAL_PORT=80
# External ports on the host (docker compose publish)
BACKEND_PORT=8080
FRONTEND_PORT=3080
VITE_DEV_PORT=5173
# OpenRouter
OPENROUTER_API_KEY=sk-or-v1-your-key-here
@@ -9,5 +15,18 @@ OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
# App
DATABASE_URL=sqlite:///./data/assistant.db
CORS_ORIGINS=http://localhost:5173,http://localhost:8080,http://localhost:3000
# Add your server URL with FRONTEND_PORT, e.g. http://grigosserver:3080
CORS_ORIGINS=http://localhost:5173,http://localhost:8080,http://localhost:3080
SYSTEM_PROMPT_PATH=./prompts/assistant.md
# External services (phase 2 — homelab integrations)
TAIGA_BASE_URL=http://taiga:9000
TAIGA_PORT=9000
GITEA_BASE_URL=http://gitea:3000
GITEA_PORT=3000
GITEA_SSH_PORT=222
REPOS_DIR=/data/repos
# Vector DB (phase 3)
QDRANT_PORT=6333
QDRANT_GRPC_PORT=6334