43 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# AI Configuration
 | 
						|
AI_API_ENDPOINT=https://aiendpoint.org
 | 
						|
AI_API_KEY=your_apikey_here
 | 
						|
AI_MODEL='ai_model_name_here'
 | 
						|
AI_RATE_LIMIT_DELAY_MS=2000
 | 
						|
 | 
						|
# Git Repository
 | 
						|
GIT_REPO_URL=https://git.cc24.dev/mstoeck3/cc24-hub.git
 | 
						|
GIT_API_ENDPOINT=https://git.cc24.dev/api/v1
 | 
						|
GIT_API_TOKEN=
 | 
						|
LOCAL_REPO_PATH=/var/git/cc24-hub
 | 
						|
GIT_PROVIDER=gitea
 | 
						|
 | 
						|
# OIDC Configuration
 | 
						|
OIDC_ENDPOINT=https://oidc-provider.org
 | 
						|
OIDC_CLIENT_ID=your_oidc_client_id
 | 
						|
OIDC_CLIENT_SECRET=your_oidc_client_secret
 | 
						|
AUTH_SECRET=your_super_secret_jwt_key_that_should_be_at_least_32_characters_long_for_security
 | 
						|
 | 
						|
AUTHENTICATION_NECESSARY=false # Always set this to true in prod
 | 
						|
 | 
						|
 | 
						|
# Application
 | 
						|
PUBLIC_BASE_URL=http://localhost:4321
 | 
						|
 | 
						|
# Media Storage
 | 
						|
LOCAL_UPLOAD_PATH=./public/uploads
 | 
						|
# Nextcloud integration (optional)
 | 
						|
NEXTCLOUD_ENDPOINT=
 | 
						|
NEXTCLOUD_USERNAME=
 | 
						|
NEXTCLOUD_PASSWORD=
 | 
						|
NEXTCLOUD_UPLOAD_PATH=/kb-media
 | 
						|
NEXTCLOUD_PUBLIC_URL=
 | 
						|
 | 
						|
# Custom upload limits (optional)
 | 
						|
MAX_FILE_SIZE=52428800  # 50MB in bytes
 | 
						|
MAX_UPLOADS_PER_HOUR=100
 | 
						|
 | 
						|
# Development/Production mode
 | 
						|
NODE_ENV=development
 | 
						|
 | 
						|
# Logging level
 | 
						|
LOG_LEVEL=info |