mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
9a580c77d2
- Replace Redis with DragonflyDB for better performance and memory efficiency - Remove redundant environment variables (POSTGRES_*, ENCRYPTION_KEY, OAUTH_SERVICE_URL) - Consolidate database configuration to use single DB_* variables - Use JWT_SECRET for both JWT tokens and encryption - Remove PORT variable redundancy, use BACKEND_PORT consistently - Clean up docker-compose configurations for dev/prod consistency - Add DragonflyDB configuration with optimized memory usage - Remove redis.conf as it's no longer needed - Update health checks to use Redis-compatible CLI for DragonflyDB
43 lines
852 B
Bash
43 lines
852 B
Bash
# Server Configuration
|
|
FRONTEND_PORT=3000
|
|
BACKEND_PORT=8080
|
|
DB_PORT=5432
|
|
DRAGONFLY_PORT=6379
|
|
GIN_MODE=debug
|
|
|
|
# Database Configuration
|
|
DB_TYPE=postgres
|
|
DB_HOST=localhost
|
|
DB_PORT=5432
|
|
DB_USER=trackeep
|
|
DB_PASSWORD=your_password_here
|
|
DB_NAME=trackeep
|
|
DB_SSL_MODE=disable
|
|
|
|
# DragonflyDB Configuration
|
|
DRAGONFLY_ADDR=dragonfly:6379
|
|
DRAGONFLY_PASSWORD=your_dragonfly_password_here
|
|
|
|
# JWT Configuration (also used for encryption)
|
|
JWT_SECRET=your_jwt_secret_here_64_hex_characters_long_exactly
|
|
JWT_EXPIRES_IN=24h
|
|
|
|
# File Upload Configuration
|
|
UPLOAD_DIR=./uploads
|
|
MAX_FILE_SIZE=10485760
|
|
|
|
# CORS Configuration
|
|
CORS_ALLOWED_ORIGINS=*
|
|
|
|
# Demo Mode Configuration
|
|
VITE_DEMO_MODE=false
|
|
|
|
# AI Services Configuration
|
|
SEARCH_API_PROVIDER=demo
|
|
SEARCH_RESULTS_LIMIT=10
|
|
|
|
# Auto Update Configuration
|
|
AUTO_UPDATE_CHECK=false
|
|
UPDATE_CHECK_INTERVAL=24h
|
|
PRERELEASE_UPDATES=false
|