Environment Variables
Boolean flags default to false when unset.
| Variable | Type | Default | Config Keys | Description | Source |
|---|---|---|---|---|---|
STORAGE_LOCAL_DESTINATION | string | "./storage" | storage.local.destination | Local storage configuration. Config key: `storage.local.destination`. | storage.ts |
STORAGE_LOCAL_ENABLED | flag | — | storage.local.enabled | Default configuration values for the storage module. / | storage.ts |
STORAGE_LOCAL_HTTP_BASE_PATH | string | "/storage/local" | storage.local.http.basePath | Local storage configuration. Config key: `storage.local.http.basePath`. | storage.ts |
STORAGE_LOCAL_PUBLIC_URL | string | "" | storage.local.publicUrl | Local storage configuration. Config key: `storage.local.publicUrl`. | storage.ts |
STORAGE_LOCAL_SIGNED_DOWNLOAD_EXPIRE | number | 60 | storage.local.signed.download | Local storage configuration. Config key: `storage.local.signed.download`. | storage.ts |
STORAGE_LOCAL_SIGNED_SECRET | string | "" | storage.local.signed.secret | Local storage configuration. Config key: `storage.local.signed.secret`. | storage.ts |
STORAGE_LOCAL_SIGNED_UPLOAD_EXPIRE | number | 60 | storage.local.signed.upload | Local storage configuration. Config key: `storage.local.signed.upload`. | storage.ts |
STORAGE_LOCAL_UPLOAD | string | "./temp" | storage.local.upload | Local storage configuration. Config key: `storage.local.upload`. | storage.ts |
STORAGE_S3_ACCESS_KEY | string | — | storage.s3.accessKeyId | S3 storage configuration. Config key: `storage.s3.accessKeyId`. | storage.ts |
STORAGE_S3_BUCKET | string | — | storage.s3.bucket | S3 storage configuration. Config key: `storage.s3.bucket`. | storage.ts |
STORAGE_S3_ENABLED | flag | — | storage.s3.enabled | S3 storage configuration. Config key: `storage.s3.enabled`. | storage.ts |
STORAGE_S3_ENDPOINT | string | — | storage.s3.endpoint | S3 storage configuration. Config key: `storage.s3.endpoint`. | storage.ts |
STORAGE_S3_PATH_STYLE | flag | — | storage.s3.pathStyleUrl | S3 storage configuration. Config key: `storage.s3.pathStyleUrl`. | storage.ts |
STORAGE_S3_REGION | string | "eu-west-1" | storage.s3.region | S3 storage configuration. Config key: `storage.s3.region`. | storage.ts |
STORAGE_S3_SECRET_KEY | string | — | storage.s3.secretAccessKey | S3 storage configuration. Config key: `storage.s3.secretAccessKey`. | storage.ts |
STORAGE_S3_SIGNED_DOWNLOAD_EXPIRE | number | 60 | storage.s3.signed.download | S3 storage configuration. Config key: `storage.s3.signed.download`. | storage.ts |
STORAGE_S3_SIGNED_UPLOAD_EXPIRE | number | 60 | storage.s3.signed.upload | S3 storage configuration. Config key: `storage.s3.signed.upload`. | storage.ts |