Skip to main content Skip to footer

Search Crosser Knowledge Base

Use environment settings to configure HTTP and MQTT Service

As many of you know, the Crosser Node includes a built-in MQTT Broker and HTTP Server. By default, these do not have encryption or authentication enabled—but both can be configured.

On Windows, you can set these options by editing the local configuration files (httpconfiguration.json and mqttconfiguration.json) in the Node’s root folder. When running in Docker, you can do the same, or use environment variables to apply the settings more efficiently. Using environment variables is especially helpful for managing deployments with container tools like Docker Compose.

It’s also possible to use environment variables on Windows, but they must be set directly in the system environment. Whether you're running Crosser on Windows or in Docker, you can choose between using local config files or environment variables—whatever best fits your setup.

For a full documentation as well as example on how to use environment variables in docker-compose, have a look at our documentation.

About the author

David Nienhaus | Senior Solution Engineer

David is a Senior Solution Engineer at Crosser. He has over 15 years experience working with software integration and digitization projects for critical infrastructure.
His engineering background gives him the understanding and focus needed to solve customer use cases in the most efficient and successful way.