Hi, I'm using Ory Kratos and testing it out in usi...
# ory-selfhosting
b
Hi, I'm using Ory Kratos and testing it out in using docker compose. For some reason, when I try to launch it, it doesn't find the config file I've mounted. Here's the config for the service.
Copy code
kratos:
    image: oryd/kratos:latest
    command:
      - serve
      - --config
      - /home/ory/.kratos/kratos.yml
      - --sqa-opt-out
      - --dev
    volumes:
      - ./infrastructure/configs/kratos:/home/ory/.kratos
I get this error in the logs:
Copy code
time=2023-07-26T14:52:56Z level=error msg=Unable to instantiate configuration. audience=application error=map[message:open /home/ory/.kratos/kratos.yml: no such file or directory] service_name=Ory Kratos service_version=v1.0.0
Error: open /home/ory/.kratos/kratos.yml: no such file or directory
When I try to run
ls /home/ory/.kratos/
, it does show that the files are there:
Copy code
kratos.example.yaml
kratos.yaml
b
The file on disk is .yaml but in the command you’re referencing .yml
b
Oh, I completely missed that. Sorry. Thank you for your help.