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_REGIONStringThe region of your S3 bucket (required if using AWS S3).us-east-1No
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_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.trueNo

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.