Skip to main content

Configuration

All configuration is via environment variables.

Storage backend​

VariableDefaultDescription
STORAGE_BACKENDs3Storage backend: s3, mongodb, or filesystem
FS_STORAGE_PATH/data/paasterBase path for filesystem backend

S3​

VariableDescription
S3_ENDPOINTS3-compatible endpoint URL
S3_REGIONRegion
S3_ACCESS_KEY_IDAccess key
S3_SECRET_ACCESS_KEYSecret key
S3_BUCKETBucket name
s3_FORCE_PATH_STYLESet true for Garage (default: false)

MongoDB​

VariableDefaultDescription
MONGO_URLmongodb://localhost:27017MongoDB connection string
MONGO_DBpaasterv3Database name

Upload limits​

VariableDefaultDescription
MAX_UPLOAD_SIZE10Maximum total upload size in MB

Other​

VariableDescription
RATE_LIMITER_SECRETSecret for rate limiter
NODE_ENVproduction or development