kyantech_Palmr/apps/server/.env.example
copilot-swe-agent[bot] ad400bc6fa feat(server): add S3_DISABLE_CHECKSUMS option for Cloudflare R2 compatibility
Co-authored-by: danielalves96 <62755605+danielalves96@users.noreply.github.com>
2025-12-10 16:55:19 +00:00

20 lines
894 B
Plaintext

# FOR FILESYSTEM STORAGE ENV VARS
ENABLE_S3=false
DISABLE_FILESYSTEM_ENCRYPTION=true
# ENCRYPTION_KEY=change-this-key-in-production-min-32-chars # Required only if encryption is enabled (DISABLE_FILESYSTEM_ENCRYPTION=false)
DATABASE_URL="file:./palmr.db"
# FOR USE WITH S3 COMPATIBLE STORAGE
# ENABLE_S3=true
# S3_ENDPOINT=
# S3_PORT=
# S3_USE_SSL=
# S3_ACCESS_KEY=
# S3_SECRET_KEY=
# S3_REGION=
# S3_BUCKET_NAME=
# S3_FORCE_PATH_STYLE=
# S3_REJECT_UNAUTHORIZED=true # Set to false to disable strict SSL certificate validation for self-signed certificates (optional, defaults to true)
# S3_DISABLE_CHECKSUMS=false # Set to true to disable automatic checksums for S3-compatible services that don't support them (e.g., Cloudflare R2) (optional, defaults to false)
# PRESIGNED_URL_EXPIRATION=3600 # Duration in seconds for presigned URL expiration (optional, defaults to 3600 seconds / 1 hour)