mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
first test
This commit is contained in:
+66
-6
@@ -3,7 +3,7 @@ PORT=8080
|
||||
GIN_MODE=debug
|
||||
|
||||
# Database Configuration
|
||||
DB_TYPE=sqlite
|
||||
DB_TYPE=postgres
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USER=trackeep
|
||||
@@ -11,16 +11,76 @@ DB_PASSWORD=your_password_here
|
||||
DB_NAME=trackeep
|
||||
DB_SSL_MODE=disable
|
||||
|
||||
# SQLite (for development)
|
||||
SQLITE_DB_PATH=./trackeep.db
|
||||
|
||||
# JWT Configuration
|
||||
JWT_SECRET=your_super_secret_jwt_key_here
|
||||
# JWT_SECRET is auto-generated on startup and stored in jwt_secret.key
|
||||
# You can override by setting JWT_SECRET environment variable if needed
|
||||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# Encryption Configuration
|
||||
# ENCRYPTION_KEY is auto-generated on startup and stored in encryption.key
|
||||
# You can override by setting ENCRYPTION_KEY environment variable if needed
|
||||
|
||||
# File Upload Configuration
|
||||
UPLOAD_DIR=./uploads
|
||||
MAX_FILE_SIZE=10485760
|
||||
|
||||
# CORS Configuration
|
||||
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:3000
|
||||
CORS_ALLOWED_ORIGINS=*
|
||||
|
||||
# AI Services Configuration
|
||||
LONGCAT_ON=false
|
||||
LONGCAT_API_KEY=your_longcat_api_key_here
|
||||
LONGCAT_BASE_URL=https://api.longcat.chat
|
||||
LONGCAT_OPENAI_ENDPOINT=https://api.longcat.chat/openai
|
||||
LONGCAT_ANTHROPIC_ENDPOINT=https://api.longcat.chat/anthropic
|
||||
LONGCAT_MODEL=LongCat-Flash-Chat
|
||||
LONGCAT_MODEL_THINKING=LongCat-Flash-Thinking
|
||||
LONGCAT_FORMAT=openai
|
||||
|
||||
# Mistral AI Configuration
|
||||
MISTRAL_ON=false
|
||||
MISTRAL_API_KEY=your_mistral_api_key_here
|
||||
MISTRAL_MODEL=mistral-small-latest
|
||||
MISTRAL_MODEL_THINKING=mistral-large-latest
|
||||
|
||||
# Grok AI Configuration
|
||||
GROK_ON=false
|
||||
GROK_API_KEY=your_grok_api_key_here
|
||||
GROK_BASE_URL=https://api.x.ai/v1
|
||||
GROK_MODEL=grok-4-1-fast-non-reasoning-latest
|
||||
GROK_MODEL_THINKING=grok-4-1-fast-reasoning-latest
|
||||
|
||||
# DeepSeek Configuration
|
||||
DEEPSEEK_ON=false
|
||||
DEEPSEEK_API_KEY=your_deepseek_api_key_here
|
||||
DEEPSEEK_BASE_URL=https://api.deepseek.com
|
||||
DEEPSEEK_MODEL=deepseek-chat
|
||||
DEEPSEEK_MODEL_THINKING=deepseek-reasoner
|
||||
|
||||
# Ollama Configuration
|
||||
OLLAMA_ON=false
|
||||
OLLAMA_BASE_URL=http://localhost:11434
|
||||
OLLAMA_MODEL=llama3.1
|
||||
OLLAMA_MODEL_THINKING=llama3.1
|
||||
|
||||
# OpenRouter Configuration
|
||||
OPENROUTER_ON=false
|
||||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
OPENROUTER_BASE_URL=https://openrouter.ai/api
|
||||
OPENROUTER_MODEL=openrouter/auto
|
||||
OPENROUTER_MODEL_THINKING=openrouter/auto
|
||||
|
||||
# Demo Mode Configuration
|
||||
VITE_DEMO_MODE=false
|
||||
|
||||
# Browser Search API Configuration
|
||||
BRAVE_API_KEY=your_brave_api_key_here
|
||||
BRAVE_SEARCH_BASE_URL=https://api.search.brave.com/res/v1/web/search
|
||||
SERPER_API_KEY=your_serper_api_key_here
|
||||
SERPER_BASE_URL=https://google.serper.dev/search
|
||||
SEARCH_API_PROVIDER=brave # Options: brave, serper, demo
|
||||
|
||||
# Search Configuration
|
||||
SEARCH_RESULTS_LIMIT=10
|
||||
SEARCH_CACHE_TTL=300
|
||||
SEARCH_RATE_LIMIT=100
|
||||
|
||||
Reference in New Issue
Block a user