# Production Environment Configuration
# This file is used when running docker compose in prod-env/

# Application Configuration
NODE_ENV=production
PORT=3000
LOG_LEVEL=info
API_BASE_URL=http://localhost:3000

# CORS Configuration
CORS_ORIGIN=*

# Database Configuration (Docker internal network)
DB_HOST=postgres
DB_PORT=5432
DB_NAME=banatie_db
DB_USER=banatie_user
DB_PASSWORD=banatie_secure_password
DATABASE_URL=postgresql://banatie_user:banatie_secure_password@postgres:5432/banatie_db

# MinIO Storage Configuration (Docker internal network)
MINIO_ROOT_USER=banatie_admin
MINIO_ROOT_PASSWORD=banatie_storage_secure_key_2024
STORAGE_TYPE=minio
MINIO_ENDPOINT=minio: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

# Multi-tenancy Configuration
DEFAULT_ORG_ID=default
DEFAULT_PROJECT_ID=main
DEFAULT_USER_ID=system

# Presigned URL Configuration
PRESIGNED_URL_EXPIRY=86400  # 24 hours

# File Upload Configuration
MAX_FILE_SIZE=5242880  # 5MB
MAX_FILES=3

# Directory Configuration (Docker paths)
RESULTS_DIR=/app/results
UPLOADS_DIR=/app/uploads/temp

# Logging Configuration
TTI_LOG=logs/tti-log.md
ENH_LOG=logs/enhancing.md

# Waitlist Configuration
# NOTE: WAITLIST_LOGS_PATH is set in docker-compose.yml environment section
# The host path for volume mount should be coordinated with VPS project infrastructure
# Default dev path: ../data/waitlist-logs (relative to prod-env/)
# Production path example: /var/banatie/waitlist-logs

# IMPORTANT: Sensitive values should be in secrets.env (not tracked in git)
# See secrets.env.example for required variables
