Error in deploying TTS on localhost (/run/secrets/key.pem: is a directory)

Dear community,

I am trying to deploy the Things Stack on my localhost via Docker, but when running the last instruction ‘docker compose up -d’ I am getting the error as on the following image:

In the following image you can find the structure of the working directory:

working_directory

I am using custom certificates and I am not really sure what to do now. Is there anybody who can suggest solution for the described problem?

Thank you in advance