mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
uppdate
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
# Server Configuration
|
||||
PORT=8080
|
||||
GIN_MODE=debug
|
||||
READ_TIMEOUT=15s
|
||||
WRITE_TIMEOUT=15s
|
||||
IDLE_TIMEOUT=60s
|
||||
SHUTDOWN_TIMEOUT=30s
|
||||
|
||||
# Database Configuration
|
||||
DB_TYPE=postgres
|
||||
@@ -11,6 +15,11 @@ DB_PASSWORD=your_password_here
|
||||
DB_NAME=trackeep
|
||||
DB_SSL_MODE=disable
|
||||
|
||||
# Docker Compose Database (used by docker-compose.yml)
|
||||
POSTGRES_DB=trackeep
|
||||
POSTGRES_USER=trackeep
|
||||
POSTGRES_PASSWORD=your_secure_password_here
|
||||
|
||||
# JWT Configuration
|
||||
# JWT_SECRET is auto-generated on startup and stored in jwt_secret.key
|
||||
# You can override by setting JWT_SECRET environment variable if needed
|
||||
@@ -84,3 +93,20 @@ SEARCH_API_PROVIDER=brave # Options: brave, serper, demo
|
||||
SEARCH_RESULTS_LIMIT=10
|
||||
SEARCH_CACHE_TTL=300
|
||||
SEARCH_RATE_LIMIT=100
|
||||
|
||||
# Update Configuration
|
||||
# Application version (used for update checking)
|
||||
APP_VERSION=1.0.0
|
||||
|
||||
# OAuth service configuration (REQUIRED)
|
||||
# The OAuth service must be running for updates to work
|
||||
OAUTH_SERVICE_URL=http://localhost:9090
|
||||
JWT_SECRET=your-jwt-secret-key
|
||||
|
||||
# Update settings
|
||||
AUTO_UPDATE_CHECK=false
|
||||
UPDATE_CHECK_INTERVAL=24h
|
||||
PRERELEASE_UPDATES=false
|
||||
|
||||
# Note: No GitHub token configuration needed
|
||||
# Updates use the OAuth service which handles GitHub authentication automatically
|
||||
|
||||
Reference in New Issue
Block a user