# API Key for authentication API_KEY=your-secret-api-key-here # Server configuration PORT=8080 # Database path DB_PATH=./data/sharing.db # Storage configuration # STORAGE_TYPE can be "local" or "s3" (default: local) STORAGE_TYPE=local # Local storage configuration (used when STORAGE_TYPE=local) DATA_DIR=./data # S3 storage configuration (used when STORAGE_TYPE=s3) # Required for S3: S3_BUCKET=your-bucket-name S3_REGION=us-east-1 S3_ACCESS_KEY_ID=your-access-key-id S3_SECRET_ACCESS_KEY=your-secret-access-key # Optional S3 settings: S3_ENDPOINT= # Custom endpoint for S3-compatible services (MinIO, R2, etc.) S3_USE_PATH_STYLE=false # Use path-style URLs instead of virtual-hosted (needed for MinIO)