whispin / authzed-postgresql

Use docker compose to run spicedb with postgresql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Running SpiceDB with PostgreSQL using docker compose

Required

  • using docker/docker compose

SpiceDB settings:

Postgres settings:

Set the database name, user, password in the secrets folders

Start reading PostgreSQL

./start-postgresql.sh

Start SpiceDB

docker-compose --env-file .env up -d

Test the Spicedb

open in the browser http://localhost:8080/

Follow the instructions using zed client

zed context set first-dev-context :50051 "foobar" --insecure

Read schema

zed schema read

About

Use docker compose to run spicedb with postgresql

License:Apache License 2.0


Languages

Language:Shell 100.0%