41 lines
796 B
Plaintext
41 lines
796 B
Plaintext
# 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 |