https://authzed.com logo
Title
a

Andrii

03/05/2023, 7:14 PM
Hi @Rajasekar , I've also just started looking into, but I've got an instance up and running already. Here's my docker-compose for launching spiceDb and postgres:
version: "3.8"
services:

  datastore:
    image: postgres:alpine
    environment:
      - POSTGRES_DB=spicedb
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
    ports:
      - 5432:5432

  spicedb:
    image: authzed/spicedb:latest
    ports:
      - 4040:8080
      - 9090:9090
      - 50051:50051
      - 8443:8443
    command: serve --grpc-preshared-key "secrettoken" --datastore-engine=postgres --datastore-conn-uri="postgres://postgres:postgres@datastore:5432/spicedb" --http-enabled
    depends_on:
      - datastore