Hi, I am evaluating Ory Keto for our authorization...
# talk-keto
d
Hi, I am evaluating Ory Keto for our authorization service. When I tried in my local using Docker compose, I found this error message. What did I miss? (You can find the docker compose in the reply)
Copy code
Error: stat ./keto_namespaces: no such file or directory
Here’s the docker compose
Copy code
version: '3.3'
services:
  postgres:
    image: postgres:alpine
    ports:
      - '5432:5432'
    volumes:
      - ./volume/postgres:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
      - POSTGRES_DB=postgres
    restart: always
  keto-migrate:
    image: oryd/keto:v0.9.0
    restart: on-failure
    volumes:
      - ./deployments/docker/keto.yml:/home/ory/keto.yml
      - ./deployments/docker/keto_namespaces:/home/ory/keto_namespaces
    environment:
      - LOG_LEVEL=debug
      - DSN=<postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable>
    command: ["migrate", "up", "-y"]
  keto:
    image: oryd/keto:v0.9.0
    restart: always
    ports:
      - '4466:4466'
    volumes:
      - ./deployments/docker/keto.yml:/home/ory/keto.yml
      - ./deployments/docker/keto_namespaces:/home/ory/keto_namespaces
    environment:
      - LOG_LEVEL=debug
      - DSN=<postgres://postgres:postgres@postgres:5432/postgres?sslmode=disable>
    depends_on:
      - postgres
      - keto-migrate
s
that is the default for the
namespaces
config key
you just have to set that
d
I set a blank file in
/home/ory/keto_namespaces
in the Docker compose. But it does nothing.