Where is the best place to the full list of docume...
# ory-selfhosting
d
Where is the best place to the full list of documentation options. struggling to understand how to get the following config working
Copy code
namespaces:
  location: file://./namespaces.keto.ts

dsn: memory

serve:
  read:
    host: 0.0.0.0
    port: 4466
  write:
    host: 0.0.0.0
    port: 4467
I am just running in memory and was hoping that the
serve
command would also allow me to create the namespace, but seems I am getting
Copy code
Error: unable to initialize config provider: I[#/namespaces] S[#/properties/namespaces/oneOf] oneOf failed
  I[#/namespaces] S[#/properties/namespaces/oneOf/0/type] expected string, but got array
  I[#/namespaces/0] S[#/properties/namespaces/oneOf/1/items/$ref] doesn't validate with "#/definitions/namespace"
    I[#/namespaces/0] S[#/definitions/namespace/additionalProperties] additionalProperties "location" not allowed
any ideas? my hope is to try get this working via testcontainers (can spin up the instance without issue so far)
s
I think this is what you are after: https://www.ory.sh/docs/keto/reference/configuration
d
@some-bear-63847 thank you, seems I was able to get it working in the end, though not using the
namespaces
file. I resorted back to
Copy code
namespaces:
  - id: 0
    name: Blog
still unsure how the ts files work