I'm using docker-compose and its yaml file contain...
# spicedb
r
I'm using docker-compose and its yaml file contains a migrator with that command and executes it in each
docker-compose up
run. I just restarted my system and
spicedb
server works fine now.
Copy code
yaml
  spicedb-migrate:
    image: authzed/spicedb
    command: migrate head
    restart: on-failure
    environment:
      - "SPICEDB_DATASTORE_ENGINE=postgres"
      - "SPICEDB_DATASTORE_CONN_URI=postgres://postgres:changeme@postgres:5432/spicedb?sslmode=disable"
    networks:
      - postgres
9 Views