committtttt

This commit is contained in:
Dev
2025-09-13 06:48:55 +03:00
commit 2d49f69be6
32 changed files with 6478 additions and 0 deletions

41
backend/.env.example Normal file
View File

@@ -0,0 +1,41 @@
# Server Configuration
SERVER_HOST=0.0.0.0
SERVER_PORT=8080
SERVER_READ_TIMEOUT=30s
SERVER_WRITE_TIMEOUT=30s
# Database Configuration
DB_HOST=localhost
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=support
DB_PORT=5432
DB_SSLMODE=disable
DB_TIMEZONE=UTC
# Redis Configuration
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Authentication Configuration
AUTH_JWT_SECRET=your-secret-key-change-in-production
AUTH_JWT_EXPIRATION_HOURS=24
# AI Configuration
AI_OPENAI_API_KEY=your-openai-api-key
AI_OPENAI_MODEL=gpt-4
AI_OPENAI_MAX_TOKENS=4000
AI_OPENAI_TEMPERATURE=0.7
AI_OPENAI_TOP_P=1.0
AI_LOCAL_ENDPOINT=http://localhost:11434
AI_LOCAL_MODEL=llama2
AI_LOCAL_MAX_TOKENS=2000
AI_LOCAL_TEMPERATURE=0.7
AI_LOCAL_TOP_P=1.0
# Logging Configuration
LOG_LEVEL=info
LOG_FORMAT=json