Hi, I'm trying to do some experiments with Keto. W...
# talk-keto
c
Hi, I'm trying to do some experiments with Keto. When I spin up the Keto container with sqlite (following https://github.com/gen1us2k/ory_workshop/blob/master/keto/docker-compose.yml) I get
time=2022-05-04T15:03:13Z level=error msg=Unable to connect to database, retrying. audience=application error=map[message:unsupported dialect ''] service_name=ORY Keto service_version=v0.7.0-alpha.1
. Where might be the problem? Edit: Am I right in assuming that this image should run its own sqlite instance within its container or am I supposed to supply a sqlite instance myself?
d
Hello. It’ll run sqlinstance within its container
Keep in mind that I use outdated version of Keto
c
Okay. When I'm running
v0.8.0-sqlite
I'm getting
time=2022-05-04T15:14:31Z level=error msg=Unable to connect to database, retrying. audience=application error=map[message:unsupported dialect '' stack_trace:stack trace could not be recovered from error type *errors.errorString] service_name=ORY Keto service_version=v0.8.0-alpha.0.pre.0
Am I missing some important configuration?
s
what is your config?
c
Copy code
keto:
    image: oryd/keto:v0.8.0-sqlite
    ports:
      - '4466:4466'
      - '4467:4467'
    command: serve -c /home/ory/keto.yml
    restart: on-failure
    volumes:
      - type: bind
        source: ./keto/config
        target: /home/ory
    networks:
      - intranet
Keto config is basically the same from your repo with minor changes
This is resolved now. Seemed to work with v0.7.0-sqlite.