https://authzed.com logo
Title
g

Gamerboard-admin

04/24/2023, 10:56 PM
Hey guys, i am trying to setup a local docker container with authzed. To run it, I want to run a migration before serving. This is command
command: >    
      migrate head 
          --datastore-engine "postgres" 
          --datastore-conn-uri "postgres://postgres:postgres@pg-spice/spicedb?sslmode=disable"
      && serve --grpc-preshared-key "testing_token" 
      --datastore-engine "postgres" 
      --datastore-conn-uri "postgres://postgres:postgres@pg-spice/spicedb?sslmode=disable"
However, this fails with an error
unknown flag: --grpc-preshared-key
2023-04-24T22:56:12.214983586Z Usage:
2023-04-24T22:56:12.214990211Z   spicedb migrate [revision] [flags]
It's unable to detect the second command