bostrot / telegram-support-bot

A Telegram ticketing/supporting system.
https://botspace.bostrot.com
GNU General Public License v3.0
443 stars 152 forks source link

Docker-compose issue #150

Closed Loamanroy closed 1 year ago

Loamanroy commented 1 year ago

When trying to start the project through docker-compose - docker gives an error Error: ENOENT: no such file or directory, open './config/config.yaml'. What I need to do? 2023-06-21_16-00-03

github-actions[bot] commented 1 year ago

Hello there! As you are a first time Issuer please check whether your issue description is reasonable and complete. If you are having an issue always include the versions you are using (NodeJs, Typescript, ...) as well as a way to reproduce it. Thank you for reading! Now continue :)

bostrot commented 1 year ago

Exactly what it says: make sure the file config/config.yaml exists and it is actually a file with your config in it.

Loamanroy commented 1 year ago

Exactly what it says: make sure the file config/config.yaml exists and it is actually a file with your config in it.

However, I double-checked everything, even making sure that the file is indeed present in the container. The error doesn't go away. 2023-06-21_17-40-08 2023-06-21_17-41-55

Loamanroy commented 1 year ago

ping @bostrot

Tomozki commented 1 year ago

facing the same issue

JayDi85 commented 1 year ago

It's wrong volumes setup in docker-compose.yml — under Windows you must use %cd% instead $(pwd). Or just use relative paths like: - ./config:/bot/config