Hi Team, I am trying to run SpiceDB in
# spicedb
b
Hi Team, I am trying to run SpiceDB in my local from https://github.com/authzed/examples/tree/main/datastores. After
docker compose -f postgres.yml up
when I am trying to connect using zed, getting šŸ‘‡ error. It seems like zed is forcing TLS. Also there is nothing in
http://localhost:8080
. Is there any other configuration that SpiceDB container is expecting?
Copy code
zed context set dev 'http://127.0.0.1:50051' 'foobar'
zed --insecure schema write schema.md

12:40PM FTL failed to write schema error="failed to exit idle mode: invalid target address http://127.0.0.1:50051, error info: address http://127.0.0.1:50051:443: too many colons in address"
The containers are running. šŸ‘‡ is output from docker ps
Copy code
CONTAINER ID   IMAGE                          COMMAND                  PORTS  
a9a64714787d   authzed/spicedb:latest-debug   "spicedb serve"          0.0.0.0:8080->8080/tcp, 0.0.0.0:9090->9090/tcp, 0.0.0.0:50051->50051/tcp   
c073611766b0   postgres                       "docker-entrypoint.s…"   0.0.0.0:5432->5432/tcp
For the next one stuck in this: remove protocol i.e.
http://
from url. Probably should remove
http://
from this comment too https://github.com/authzed/examples/blob/main/datastores/postgres.yml#L13
However still can't access the dashboard. Maybe it's missing something else.
e
ah, we removed the dashboard but must've missed updating the example
b
Is there another image for dashboard? How can dashboard be tested locally?
v
there is no dashboard in SpiceDB
feel free to open a PR!
10 Views