Standalone Gateway Docker-Compose Example

Hi All,

I am trying to get a cluster of brokers working with a standalone gateway, however it does not seem to work.
I use the example docker-compose file to create the gateway and brokers (https://github.com/zeebe-io/zeebe-docker-compose/blob/master/standalone-gateway/docker-compose.yml)
However, when I check the status of the cluster using .\zbctl status --insecure , it says:

Cluster size: 0 Partitions count: 0 Replication factor: 0 Gateway version: 0.26.0 Brokers:

When I use the cluster with embedded gateway (https://github.com/zeebe-io/zeebe-docker-compose/blob/master/cluster/docker-compose.yml) everything seems working and .\zbctl status --insecure shows:

Cluster size: 3 Partitions count: 2 Replication factor: 3 Gateway version: 0.26.0 Brokers: Broker 0 - 172.25.0.2:26501 Version: 0.26.0 Partition 1 : Leader, Healthy Partition 2 : Leader, Healthy Broker 1 - 172.25.0.3:26501 Version: 0.26.0 Partition 1 : Follower, Healthy Partition 2 : Follower, Healthy Broker 2 - 172.25.0.4:26501 Version: 0.26.0 Partition 1 : Follower, Healthy Partition 2 : Follower, Healthy

Am I missing something obviously? Hopefully someone can help me!

Cheers

Hi @pofsok and welcome to the forums,

Seems there’s a mistake in the yaml for that version. Changing line 17 to should do it:
- ZEEBE_GATEWAY_CLUSTER_CONTACTPOINT=node0:26502.

I’ve created a PR with a fix

Cheers,

Nico

1 Like

Thanks @korthout - I’ve merged the PR.

Advanced conf with gateway:

1 Like