authzed / examples

A collection of examples for SpiceDB users
Apache License 2.0
31 stars 5 forks source link

updates CRDB example with cluster support #3

Closed vroldanbet closed 1 year ago

vroldanbet commented 1 year ago

Hi! 👋🏻

This PR adjusts the docker-compose CRDB example to support clustering by using the --scale argument.

Example usage:

docker compose -f crdb.yml up --scale crdb=3
zed context set example-crdb localhost:50051 foobar --insecure