Error when trying to connect Operate to a remote Zeebe broker

I would like to run Operate locally and connect it to a remote Zeebe broker. I tried something like this:

version: "3.9"

services:
  operate:
    image: camunda/operate:0.26.1
    container_name: operate
    environment:
    - CAMUNDA_OPERATE_ZEEBE_GATEWAYADDRESS=host.docker.internal:26500
    - CAMUNDA_OPERATE_ELASTICSEARCH_URL=http://localhost:9200
    - CAMUNDA_OPERATE_ZEEBEELASTICSEARCH_URL=http://localhost:9200
    ports:
    - "8081:8080"
    network_mode: bridge

I get this error though:

Any tips?

Hey @Helmet

do you have an elasticsearch running locally? Otherwise I think it will not work, as you see there are exceptions because it can’t reach elastic.

Greets
Chris