mirror of
https://github.com/Dvorinka/Trackeep.git
synced 2026-06-03 20:12:58 +00:00
small fix, don't worry about it
This commit is contained in:
+13
-18
@@ -1,6 +1,8 @@
|
||||
# Server Configuration
|
||||
FRONTEND_PORT=3000
|
||||
BACKEND_PORT=9000
|
||||
FRONTEND_HOST_PORT=3900
|
||||
BACKEND_PORT=8080
|
||||
BACKEND_HOST_PORT=9000
|
||||
GIN_MODE=debug
|
||||
|
||||
# Demo Mode Configuration
|
||||
@@ -8,22 +10,23 @@ GIN_MODE=debug
|
||||
# Set to false for normal mode (full functionality)
|
||||
VITE_DEMO_MODE=true
|
||||
VITE_API_URL=http://localhost:9000
|
||||
FRONTEND_URL=http://localhost:3000
|
||||
OAUTH_SERVICE_URL=https://oauth.trackeep.org
|
||||
VITE_OAUTH_SERVICE_URL=https://oauth.trackeep.org
|
||||
FRONTEND_URL=http://localhost:3900
|
||||
PUBLIC_API_URL=http://localhost:9000
|
||||
|
||||
# Database Configuration
|
||||
DB_TYPE=postgres
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5433
|
||||
DB_PORT=5432
|
||||
DB_HOST_PORT=5433
|
||||
DB_USER=trackeep
|
||||
DB_PASSWORD=your_password_here
|
||||
DB_NAME=trackeep
|
||||
DB_SSL_MODE=disable
|
||||
|
||||
# DragonflyDB Configuration
|
||||
DRAGONFLY_ADDR=dragonfly:6380
|
||||
DRAGONFLY_PORT=6380
|
||||
DRAGONFLY_ADDR=dragonfly:6379
|
||||
DRAGONFLY_PORT=6379
|
||||
DRAGONFLY_HOST_PORT=6380
|
||||
DRAGONFLY_PASSWORD=your_dragonfly_password_here
|
||||
|
||||
# JWT Configuration (also used for encryption)
|
||||
@@ -32,17 +35,9 @@ JWT_SECRET=your_jwt_secret_here_64_hex_characters_long_exactly
|
||||
# Token expiration time (e.g., 24h, 1h, 30m, 7d)
|
||||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# GitHub OAuth App Configuration
|
||||
GITHUB_CLIENT_ID=your_github_client_id_here
|
||||
GITHUB_CLIENT_SECRET=your_github_client_secret_here
|
||||
GITHUB_REDIRECT_URL=http://localhost:9000/api/v1/auth/github/callback
|
||||
|
||||
# GitHub App Configuration (for repository installation + backups)
|
||||
# App installation callback should point to:
|
||||
# http://localhost:9000/api/v1/github/app/callback
|
||||
GITHUB_APP_SLUG=trackeep
|
||||
GITHUB_APP_ID=123456
|
||||
GITHUB_APP_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----"
|
||||
# GitHub backup storage
|
||||
# Self-hosted Trackeep instances use the unified control service for GitHub sign-in
|
||||
# and GitHub App installation. No per-instance GitHub App credentials are required.
|
||||
GITHUB_BACKUP_ROOT=./data/github-backups
|
||||
GITHUB_BACKUP_TIMEOUT=10m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user