51 lines
1.3 KiB
Bash
51 lines
1.3 KiB
Bash
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=development
|
|
|
|
# CORS Configuration
|
|
CORS_ORIGIN=*
|
|
|
|
# Database Configuration (connects to Docker via port forwarding)
|
|
DATABASE_URL=postgresql://banatie_user:banatie_secure_password@localhost:5460/banatie_db
|
|
|
|
# IMPORTANT: Sensitive values should be in secrets.env (not tracked in git)
|
|
# See secrets.env.example for required variables like GEMINI_API_KEY
|
|
|
|
# MinIO Storage Configuration
|
|
STORAGE_TYPE=minio
|
|
MINIO_ENDPOINT=localhost:9000
|
|
MINIO_ACCESS_KEY=banatie_service
|
|
MINIO_SECRET_KEY=banatie_service_key_2024
|
|
MINIO_USE_SSL=false
|
|
MINIO_BUCKET_NAME=banatie
|
|
MINIO_PUBLIC_URL=http://localhost:9000
|
|
|
|
# MinIO Admin Configuration (for initialization)
|
|
MINIO_ROOT_USER=banatie_admin
|
|
MINIO_ROOT_PASSWORD=banatie_storage_secure_key_2024
|
|
|
|
# Multi-tenancy Configuration
|
|
DEFAULT_ORG_ID=default
|
|
DEFAULT_PROJECT_ID=main
|
|
DEFAULT_USER_ID=system
|
|
|
|
# API Configuration
|
|
API_BASE_URL=http://localhost:3000
|
|
PRESIGNED_URL_EXPIRY=86400
|
|
|
|
# File Upload Configuration
|
|
MAX_FILE_SIZE=5242880
|
|
MAX_FILES=3
|
|
|
|
# Directory Configuration
|
|
RESULTS_DIR=./results
|
|
UPLOADS_DIR=./uploads/temp
|
|
|
|
# Logging Configuration
|
|
LOG_LEVEL=info
|
|
TTI_LOG=logs/tti-log.md
|
|
ENH_LOG=logs/enhancing.md
|
|
|
|
# REMOVED: Sensitive keys moved to secrets.env
|
|
# MASTER_KEY, API_KEY, and GEMINI_API_KEY should be in secrets.env
|