Files
warehouse13/.env.example
2025-10-16 14:25:08 -05:00

36 lines
1.1 KiB
Plaintext

# Deployment Mode (Feature Flag)
# Options: "cloud" or "air-gapped"
# cloud = automatically uses S3, air-gapped = automatically uses MinIO
DEPLOYMENT_MODE=air-gapped
# Database Configuration
DATABASE_URL=postgresql://user:password@localhost:5432/datalake
# Storage Backend Configuration (optional - auto-configured based on DEPLOYMENT_MODE)
# Options: "s3" or "minio"
STORAGE_BACKEND=minio
# AWS S3 Configuration (when STORAGE_BACKEND=s3)
AWS_ACCESS_KEY_ID=your_access_key
AWS_SECRET_ACCESS_KEY=your_secret_key
AWS_REGION=us-east-1
S3_BUCKET_NAME=test-artifacts
# MinIO Configuration (when STORAGE_BACKEND=minio)
MINIO_ENDPOINT=localhost:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET_NAME=test-artifacts
MINIO_SECURE=false
# Application Configuration
API_HOST=0.0.0.0
API_PORT=8000
MAX_UPLOAD_SIZE=524288000
# NPM Configuration (for frontend build)
# Default: https://registry.npmjs.org/ (public npm registry)
# For restricted environments, set to your custom npm proxy/registry URL
# Example: http://your-nexus-server:8081/repository/npm-proxy/
NPM_REGISTRY=https://registry.npmjs.org/