This commit is contained in:
Mikan
2026-06-19 11:28:04 +03:00
commit 53c89829a8
80 changed files with 12482 additions and 0 deletions

25
.env.example Normal file
View File

@@ -0,0 +1,25 @@
# === Database ===
POSTGRES_DB=airpg
POSTGRES_USER=airpg
POSTGRES_PASSWORD=airpg_secret
# === Auth ===
JWT_SECRET=change_me_in_production_please
# If empty, the backend will generate and print a one-time admin setup token to console on first run.
ADMIN_SETUP_TOKEN=
# === CORS ===
CORS_ORIGINS=http://localhost:5173,http://localhost:8080
# === Logging ===
LOG_LEVEL=INFO
# === Default LLM (overridable via admin panel) ===
# Any OpenAI-compatible endpoint (vLLM, llama.cpp server, LM Studio, Ollama with /v1, OpenAI, OpenRouter, etc.)
DEFAULT_LLM_BASE_URL=http://host.docker.internal:1234/v1
DEFAULT_LLM_API_KEY=dummy
DEFAULT_LLM_MODEL=local-model
# === Frontend ===
VITE_API_URL=http://localhost:8000
FRONTEND_BUILD_TARGET=dev