Environment Variables#
DL Streamer Pipeline Server microservice’s configuration is defined via environment variables.
Mandatory#
Enable and specify port for REST server#
REST_SERVER_PORT (Integer) - Port on which REST Server is hosted
Example:
REST_SERVER_PORT=8080
Username and ID#
PIPELINE_SERVER_USER (String) - Name of the user inside the dlstreamer pipeline server container
Example:
PIPELINE_SERVER_USER=intelmicroserviceuser
UID (Integer) - User ID permissions for the above defined user
Example:
UID=1999
proxy settings#
http_proxy (String) - IP address and port of
http_proxyserver.Example:
http_proxy=http:<ip-addr>:<port>
https_proxy (String) - - IP address and port of
https_proxyserver.Example:
https_proxy=http:<ip-addr>:<port>
no_proxy (String) - - IP address and port of
no_proxyserver.Example:
no_proxy=http:<ip-addr>:<port>
Optional#
Miscellaneous env variables#
GST_DEBUG (Integer) - Enable GST debug logs
Example:
GST_DEBUG=1
ADD_UTCTIME_TO_METADATA (Boolean) - Add UTC timestamp in metadata by DL Streamer Pipeline Server publisher
Example:
ADD_UTCTIME_TO_METADATA=trueExample:
ADD_UTCTIME_TO_METADATA=false
HTTPS (Boolean) - Make it
trueto enable SSL/TLS secure mode, mount the generated certificatesExample:
HTTPS=trueExample:
HTTPS=false
MTLS_VERIFICATION (Boolean) - Enable/disable client certificate verification for mTLS Model Registry Microservice
Example:
MTLS_VERIFICATION=trueExample:
MTLS_VERIFICATION=false
MR_URL (String) - Sets the URL where the model registry microservice is accessible
Example: MR_URL=
http://10.100.10.100:32002Example: MR_URL=
http://model-registry:32002In order to connect to the model registry using its hostname, the DL Streamer Pipeline Server and model registry has to belong to the same shared network.
If not set or left empty, the DL Streamer Pipeline Server will not be able to connect to the model registry successfully.
MR_SAVED_MODELS_DIR (String) - Sets the directory path where the DL Streamer Pipeline Server stores models downloaded from the model registry microservice.
Example:
MR_SAVED_MODELS_DIR=./mr_modelsThe
.(dot) refers to the current working directory inside the DL Streamer Pipeline Server container.For example, if the container’s working directory is
/home/pipeline-server, then./mr_modelsmeans/home/pipeline-server/mr_models.You can configure the volume mount for this directory in your respective
docker-compose.ymlfile.If not set, it defaults to
./mr_models.
MR_REQUEST_TIMEOUT (Integer) - Sets the timeout for requests sent to the model registry microservice.
Example:
MR_REQUEST_TIMEOUT=300If not set, it defaults to
300.
MR_VERIFY_CERT (String) - Specifies how SSL certificate verification is handled when communicating with the model registry microservice.
Example:
MR_VERIFY_CERT=/run/secrets/ModelRegistry_Server/ca-bundle.crtExample:
MR_VERIFY_CERT=yesThis variable is only used if
MR_URLcontainshttpsIf not set, it defaults to
/run/secrets/ModelRegistry_Server/ca-bundle.crtTo enable SSL certificate verification using the system’s default CA bundle, set this variable to:
yes,y,true,t, or1To verify the certificates issued by CAs not included in the system’s default bundle, set it to the file or directory path that contains the custom CA bundle
To disable verification, set it to:
no,n,false,f,0, or leave it empty
LOG_LEVEL (String) - Set the logging level for DL Streamer Pipeline Server
Example:
LOG_LEVEL=INFOExample:
LOG_LEVEL=DEBUGExample:
LOG_LEVEL=ERRORExample:
LOG_LEVEL=WARN
BASE_IMAGE (String) - Base image name to be used to build the DL Streamer Pipeline Server docker
Example:
BASE_IMAGE=<base-image-name>
DLSTREAMER_PIPELINE_SERVER_IMAGE (String) - Image name to build or run DL Streamer Pipeline Server
Example:
DLSTREAMER_PIPELINE_SERVER_IMAGE=intel/dlstreamer-pipeline-server:3.1.0-ubuntu22
BUILD_TARGET (String) - Option to select the target build for DL Streamer Pipeline Server. Use
dlstreamer-pipeline-serverfor optimized image anddlstreamer-pipeline-server-extendedfor extended imageExample:
BUILD_TARGET=dlstreamer-pipeline-serverExample:
BUILD_TARGET=dlstreamer-pipeline-server-extended
DLSTREAMER_PIPELINE_SERVER_DOCKERFILE (String) - Path to docker file during building of DL Streamer Pipeline Server
Example:
DLSTREAMER_PIPELINE_SERVER_DOCKERFILE=Dockerfile
ZE_ENABLE_ALT_DRIVERS (String) - Variable needed to run inference successfully on NPU devices
Example:
ZE_ENABLE_ALT_DRIVERS=libze_intel_npu.so