Skip to main content

Custom Object Storage

To set up custom object storage for production deployment, you need to modify the server environment variables in the values.yaml file. Add or update the variables listed below under the environment section of the server configuration.

Environment Variables for Custom Object Storage

NameTypeDescriptionDefaultRequired
S3_ACCESS_KEYStringAccess key for the S3 storage.Yes
S3_SECRET_KEYStringSecret key for the S3 storage.Yes
S3_END_POINTStringEndpoint URL for the S3-compatible storage.Yes
S3_BUCKETStringName of the S3 bucket where files will be stored.Yes
S3_PORTNumberPort to connect to the S3 storage.Yes
S3_USE_SSLBooleanEnable or disable SSL for connections to the S3 storage.trueNo
S3_IS_AWS_S3BooleanSpecify if the S3 storage is AWS S3.falseNo
S3_REGIONStringThe region of your S3 bucket (required if using AWS S3).us-east-1No
S3_AWS_USE_ACCELERATE_ENDPOINTBooleanUse the AWS S3 Transfer Acceleration endpoint for faster uploads and downloads to enabled buckets. Only applicable when S3_IS_AWS_S3 is true and the bucket has acceleration enabled.falseNo
S3_USE_PATH_STYLEBooleanUse path-style URLs (/bucket/object) instead of virtual-hosted-style URLs (bucket.endpoint/object). Must be set to false when S3_AWS_USE_ACCELERATE_ENDPOINT is enabled.trueNo
S3_CREATE_BUCKET_IF_NOT_EXISTBooleanAutomatically create the bucket if it does not exist.trueNo
S3_USE_PRE_SIGNED_URLBooleanUse pre-signed URLs to offload bandwidth by allowing direct file access from S3. Note: Enabling this requires your end users to have network access to the S3 instance to use the pre-signed URL.falseNo

Note: You may not find all the above variables already defined in the values.yaml file. Add or update them as necessary under the server.environment section to configure custom object storage for your deployment.