# 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` ### RTSP related config - **ENABLE_RTSP (Boolean)** - Set to `true` to enable RTSP. Set to `false` to disable RTSP - Example: `ENABLE_RTSP=true` - Example: `ENABLE_RTSP=false` - **RTSP_CAMERA_IP (String)** - IP address of RTSP camera. - Example: `RTSP_CAMERA_IP=` ### 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_proxy` server. - Example: `http_proxy=http::` - **https_proxy (String)** - - IP address and port of `https_proxy` server. - Example: `https_proxy=http::` - **no_proxy (String)** - - IP address and port of `no_proxy` server. - Example: `no_proxy=http::` ## Optional ### MQTT related configs - **MQTT_HOST (String)** - IP address of machine on which MQTT broker is hosted - Example: `MQTT_HOST=` - **MQTT_PORT (Integer)** - Port on which MQTT service is running - Example: `MQTT_PORT=1883` ### S3 related settings (Configure only if S3 integration is enabled) - **S3_STORAGE_HOST (String)** - IP address of machine on which S3 storage service is hosted - Example: `S3_STORAGE_HOST=` - **S3_STORAGE_PORT (Integer)** - Port on which S3 stroage service is running - Example: `S3_STORAGE_PORT=9000` - **S3_STORAGE_USER (String)** - Username to login into S3 storage service - Example: `S3_STORAGE_USER=minioadmin` - **S3_STORAGE_PASS (String)** - Password to login into S3 storage service - Example: `S3_STORAGE_PASS=minioadmin` ### OPCUA related configuration (Configure only if OPCUA is enabled) - **OPCUA_SERVER_IP (String)** - IP address of the OPCUA server - Example: `OPCUA_SERVER_IP=` - **OPCUA_SERVER_PORT (Integer)** - Port on which OPCUA service is running - Example: `OPCUA_SERVER_PORT=48010` - **OPCUA_SERVER_USERNAME (String)** - Username to login into OPCUA server - Example: `OPCUA_SERVER_USERNAME=root` - **OPCUA_SERVER_PASSWORD (String)** - Password to login into OPCUA server - Example: `OPCUA_SERVER_PASSWORD=secret` ### Open Telemetry related config (Configure only if open telemetry is enabled) - **ENABLE_OPEN_TELEMETRY (Boolean)** - Set to `true` to enable open telemetry. Set to `false` to disable open telemetry - Example: `ENABLE_OPEN_TELEMETRY=true` - Example: `ENABLE_OPEN_TELEMETRY=false` - **OTEL_COLLECTOR_HOST (String)** - Name of open telemetry service or IP address of machine on which open telemetry service is hosted - Example: `OTEL_COLLECTOR_HOST=otel-collector` - Example: `OTEL_COLLECTOR_HOST=` - **OTEL_COLLECTOR_PORT (Integer)** - Port on which open telemetry service is running - Example: `OTEL_COLLECTOR_PORT=4318` - **OTEL_EXPORT_INTERVAL_MILLIS (Integer)** - Time interval (in milliseconds) between each export of telemetry data - Example: `OTEL_EXPORT_INTERVAL_MILLIS=5000` - **SERVICE_NAME (String)** - Name given to service or application producing telemetry data - Example: `SERVICE_NAME=my-service` - **PROMETHEUS_PORT (Integer)** - Port on which Prometheus metrics are exposed - Example: `PROMETHEUS_PORT=9999` - **GRAFANA_PORT (Integer)** - Port on which Grafana dashboard is exposed - Example: `GRAFANA_PORT=3000` - **GRAFANA_USERNAME (String)** - Username to login into Grafana - Example: `GRAFANA_USERNAME=dlsps123` - **GRAFANA_PASSWORD (String)** - Password to login into Grafana - Example: `GRAFANA_PASSWORD=dlsps123` ### WebRTC related config (Configure only if WebRTC is enabled) - **ENABLE_WEBRTC (Boolean)** - Set to `true` to enable WebRTC. Set to `false` to disable WebRTC - Example: `ENABLE_WEBRTC=true` - Example: `ENABLE_WEBRTC=false` - **WHIP_SERVER_IP (String)** - IP address of machine on which open mediamtx container is running - Example: `WHIP_SERVER_IP=` - **WHIP_SERVER_PORT (Integer)** - Port on which mediamtx server is running - Example: `WHIP_SERVER_PORT=8889` -**WHIP_SERVER_TIMEOUT (String)** - Time limit for server timeout - Example: `WHIP_SERVER_TIMEOUT=10s` ### InfluxDB related config (Configure only if InfluxDB is enabled) - **INFLUXDB_HOST (String)** - IP address of machine on which InfluxDB is hosted - Example: `INFLUXDB_HOST=` - Example: `INFLUXDB_HOST=influxdb` - **INFLUXDB_PORT (Integer)** - Port on which InfluxDB is running - Example: `INFLUXDB_PORT=8086` - **INFLUXDB_USERNAME (String)** - Username to login into InfluxDB - Example: `INFLUXDB_USER=influxadmin` - **INFLUXDB_PASS (String)** - Password to login into InfluxDB - Example: `INFLUXDB_PASS=influxadmin` ### 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=true` - Example: `ADD_UTCTIME_TO_METADATA=false` - **HTTPS (Boolean)** - Make it `true` to enable SSL/TLS secure mode, mount the generated certificates - Example: `HTTPS=true` - Example: `HTTPS=false` - **LOG_LEVEL (String)** - Set the logging level for DL Streamer Pipeline Server - Example: `LOG_LEVEL=INFO` - Example: `LOG_LEVEL=DEBUG` - Example: `LOG_LEVEL=ERROR` - Example: `LOG_LEVEL=WARN` - **BASE_IMAGE (String)** - Base image name to be used to build the DL Streamer Pipeline Server docker - Example: `BASE_IMAGE=` - **DLSTREAMER_PIPELINE_SERVER_IMAGE (String)** - Image name to build or run DL Streamer Pipeline Server - Example: `DLSTREAMER_PIPELINE_SERVER_IMAGE=intel/dlstreamer-pipeline-server:2025.2.0-ubuntu22` - **BUILD_TARGET (String)** - Option to select the target build for DL Streamer Pipeline Server. Use `dlstreamer-pipeline-server` for optimized image and `dlstreamer-pipeline-server-extended` for extended image - Example: `BUILD_TARGET=dlstreamer-pipeline-server` - Example: `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`