Starting Camunda 8 run without opening browser

I am starting to use Camunda 8 run to start up a development environment. Every time i run the startup.sh-script it opens up operate (at port 8080). I don´t want that, I already know it´s on that port.
Optimally, I would like to autorun the startup (Headless Linux) and dont care about the webpage.

Based on my search through the Camunda documentation, unfortunately there is no built-in command-line option or environment variable to prevent Camunda 8 Run from automatically opening the browser window on startup.

However, I can suggest a few workarounds for your headless Linux environment:

Option 1: Use Docker Mode (Recommended)

Try starting Camunda 8 Run with the --docker flag:

./startup.sh --docker

According to the documentation, when using Docker mode, Operate will be available at http://localhost:8081 instead of 8080, and the docs don’t mention automatic browser opening in this mode.

Option 2: Environment Variable Workaround

On headless Linux systems, you can prevent GUI applications from opening by unsetting the DISPLAY variable:

unset DISPLAY && ./startup.sh

or

DISPLAY= ./startup.sh

Option 3: Redirect Browser Command

You could also try redirecting the browser command to /dev/null by temporarily modifying your PATH or creating a dummy browser script.

Feature Request

This seems like a common need for headless deployments. I’d recommend filing a feature request for a --headless or --no-browser flag at the Camunda GitHub repository.

References:

Would you like to try the Docker mode approach first, or do you need help with any of the other workarounds?