Skip to content

Unable to run examples #20

Open
Open
@gmtek

Description

@gmtek

I am trying to run SpiceDB in my local. After docker compose -f datastor/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?

docker compose -f datastor/postgres.yml
zed --insecure 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. Below is output from docker ps

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   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions