Skip to content

Configuration

open-dpp is configured through environment variables. Some settings can also be changed in the admin UI, but environment variables always take precedence.

Common

VariableTypeRequiredDefaultDescription
OPEN_DPP_PORTnumberNo3000HTTP port for the main service.
OPEN_DPP_URLURLYesPublic base URL of open-dpp (https://your-open-dpp.example).
OPEN_DPP_LOG_FORMATjson | plainNoplainLog output format.
OPEN_DPP_INSTANCE_BRANDINGstringNoOptional instance branding image location.

Database

VariableTypeRequiredDefaultDescription
OPEN_DPP_MONGODB_URIstringConditionalFull MongoDB connection URI.
OPEN_DPP_MONGODB_HOSTstringConditionalMongoDB host (when not using URI).
OPEN_DPP_MONGODB_PORTnumberConditionalMongoDB port (when not using URI).
OPEN_DPP_MONGODB_USERstringYesMongoDB username.
OPEN_DPP_MONGODB_PASSWORDstringYesMongoDB password.
OPEN_DPP_MONGODB_DATABASEstringYesMongoDB database name.

OPEN_DPP_MONGODB_URI or both OPEN_DPP_MONGODB_HOST and OPEN_DPP_MONGODB_PORT must be provided.

AI Integration

VariableTypeRequiredDefaultDescription
OPEN_DPP_MISTRAL_API_KEYstringYesAPI key for Mistral integration.

S3 storage

VariableTypeRequiredDefaultDescription
OPEN_DPP_S3_ENDPOINTstringYesS3 endpoint hostname/address.
OPEN_DPP_S3_PORTnumberYesS3 endpoint port.
OPEN_DPP_S3_SSLboolean (string-parsed)YesEnable SSL for S3 connection ("true" => true).
OPEN_DPP_S3_ACCESS_KEYstringYesS3 access key.
OPEN_DPP_S3_SECRET_KEYstringYesS3 secret key.
OPEN_DPP_S3_DEFAULT_BUCKETstringNoopen-dppDefault bucket name.
OPEN_DPP_S3_PROFILE_PICTURE_BUCKETstringNoopen-dpp-profile-picturesProfile picture bucket name.

ClamAV

VariableTypeRequiredDefaultDescription
OPEN_DPP_CLAMAV_URLstringYesClamAV service host/address.
OPEN_DPP_CLAMAV_PORTnumberYesClamAV service port.

Mail

VariableTypeRequiredDefaultDescription
OPEN_DPP_MAIL_HOSTstringYesSMTP host.
OPEN_DPP_MAIL_PORTnumberYesSMTP port.
OPEN_DPP_MAIL_USERstringYesSMTP username.
OPEN_DPP_MAIL_PASSWORDstringYesSMTP password.
OPEN_DPP_MAIL_SENDER_ADDRESSstringYesSender address used in outgoing emails.

Authentication

VariableTypeRequiredDefaultDescription
OPEN_DPP_AUTH_SECRETstringYesAuthentication secret.
OPEN_DPP_AUTH_CLOUD_ENABLEDboolean (string-parsed)NoEnables cloud auth provider integration.
OPEN_DPP_AUTH_CLOUD_PROVIDERstringConditionalCloud auth provider identifier.
OPEN_DPP_AUTH_CLOUD_CLIENT_IDstringConditionalOAuth/OIDC client ID.
OPEN_DPP_AUTH_CLOUD_CLIENT_SECRETstringConditionalOAuth/OIDC client secret.
OPEN_DPP_AUTH_CLOUD_DISCOVERY_URLstringConditionalProvider discovery URL.
OPEN_DPP_AUTH_ADMIN_USERNAMEstringConditionalOptional admin bootstrap username.
OPEN_DPP_AUTH_ADMIN_PASSWORDstringConditionalOptional admin bootstrap password.

If OPEN_DPP_AUTH_CLOUD_ENABLED is true, all of the following must be set: OPEN_DPP_AUTH_CLOUD_PROVIDER, OPEN_DPP_AUTH_CLOUD_CLIENT_ID, OPEN_DPP_AUTH_CLOUD_CLIENT_SECRET, OPEN_DPP_AUTH_CLOUD_DISCOVERY_URL

OPEN_DPP_AUTH_ADMIN_USERNAME and OPEN_DPP_AUTH_ADMIN_PASSWORD must be provided together (both set or both omitted).

Instance settings

VariableTypeRequiredDefaultDescription
OPEN_DPP_INSTANCE_SIGNUP_ENABLEDstrict boolean (string)NoAllows/disables signup; value must be "true" or "false".

Default caps

VariableTypeRequiredDefaultDescription
OPEN_DPP_DEFAULT_MODEL_CREATE_CAPnumber (>= 0)No0Default model creation cap per organization.
OPEN_DPP_DEFAULT_AI_TOKEN_QUOTAnumber (>= 0)No0Default AI token quota per organization.
OPEN_DPP_DEFAULT_MEDIA_STORAGE_CAPnumber (>= 0)No0Default media storage cap per organization.