Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-compose issue #150

Closed
Loamanroy opened this issue Jun 21, 2023 · 6 comments · Fixed by #158
Closed

Docker-compose issue #150

Loamanroy opened this issue Jun 21, 2023 · 6 comments · Fixed by #158
Labels

Comments

@Loamanroy
Copy link

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

@Loamanroy Loamanroy added the bug label Jun 21, 2023
@github-actions
Copy link

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
Copy link
Owner

bostrot commented Jun 21, 2023

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

@Loamanroy
Copy link
Author

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
Copy link
Author

ping @bostrot

@Tomozki
Copy link

Tomozki commented Sep 2, 2023

facing the same issue

@JayDi85
Copy link
Contributor

JayDi85 commented Sep 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants