Skip to content

    Configuration reference

    A compact, canonical list of every environment variable. For grouped explanations see Configuration overview and Environment variables.

    VariableTypeDefaultNotes
    HOSTstring0.0.0.0Bind address (python -m server entrypoint)
    PORTint8000Bind port (python -m server entrypoint)
    DATA_DIRstring/dataWritable state (TLS cert/key, active_model)
    UVICORN_ROOT_PATHstring(unset)Reverse-proxy path prefix
    MODEL_SIZEstringlarge-v3 (x86) / small (Jetson)Size alias or CTranslate2 repo id
    DEVICEstringcudacuda | cpu | auto
    COMPUTE_TYPEstringfloat16 (cuda) / int8 (cpu) / defaultExplicit value wins
    BEAM_SIZEint5Beam-search width
    DEFAULT_LANGUAGEstring(auto)Fallback source language
    ENABLE_VAD_FILTERbooltrueVoice-activity-detection filter
    MODEL_DIRstring/app/modelsBaked-model dir; empty forces hub download
    MODEL_REVISIONstring(unset)HF git revision override
    WARMUP_ON_STARTbooltrueEager background warmup vs lazy load
    MAX_CONCURRENCYint1Concurrent transcriptions
    QUEUE_SIZEint32Max waiting requests
    QUEUE_TIMEOUT_Sfloat120Seconds to wait for a slot
    API_KEYstring(unset)Bearer key; unset = open
    MAX_UPLOAD_BYTESint26214400Upload cap (25 MB); 0 disables
    LOG_INPUT_TEXTboolfalseLog transcript text (keep off)
    PERSIST_AUDIOboolfalseReserved / not enforced
    RETENTION_DAYSint0Reserved / not enforced
    ENABLE_WEB_UIbooltrueServe /web console
    WEBUI_DIST_DIRstring/app/webui_distBuilt console assets
    TLS_ENABLEDboolfalseServe HTTPS directly (python -m server)
    TLS_SELF_SIGNEDbooltrueAuto-generate a self-signed cert
    TLS_CERT_FILEstring<DATA_DIR>/tls/cert.pemCertificate path
    TLS_KEY_FILEstring<DATA_DIR>/tls/key.pemPrivate key path
    TLS_CNstringlocalhostCertificate common name
    TLS_SANlist(none)Extra SANs, comma-separated

    Booleans are true for 1, true, yes, or on (case-insensitive).

    PERSIST_AUDIO and RETENTION_DAYS are declared but have no runtime effect; see Privacy and responsible use.