nttin2002
08/21/2023, 12:30 PMvroldanbet
08/21/2023, 12:36 PMnttin2002
08/21/2023, 12:43 PMnttin2002
08/21/2023, 12:45 PMvroldanbet
08/21/2023, 12:54 PMnttin2002
08/21/2023, 12:56 PMnttin2002
08/21/2023, 1:07 PMvroldanbet
08/21/2023, 2:56 PMWriteSchema API call. So it depends on your needs.
- if you want to bootstrap, you need to mount the YAML into the container, and pass the path to that YAML to the --datastore-bootstrap-files command.
- if you want to write the schema in runtime, you can use zed CLI. e.g. if you are exposing the container ports to your host machine, you could do
zed context set my-context localhost:50051 <my-preshared-key>
zed schema write <my_schema_file>vroldanbet
08/21/2023, 2:57 PMnttin2002
08/21/2023, 3:20 PMnttin2002
08/21/2023, 4:46 PMvroldanbet
08/21/2023, 7:13 PM--grpc-preshared-key <your_key_here>nttin2002
08/21/2023, 9:28 PMnttin2002
08/25/2023, 4:47 AMlatest-debug, it can be changed easily, but with latest tag, I always get file not found error. Have you ever deal with it? Is there any solutions?vroldanbet
08/25/2023, 8:44 AMdocker run -ti --entrypoint=/bin/sh authzed/spicedb:latest-debug
`