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

Difficult to figure out docker-compose #442

Open
sidthekidder opened this issue Apr 30, 2024 · 1 comment
Open

Difficult to figure out docker-compose #442

sidthekidder opened this issue Apr 30, 2024 · 1 comment

Comments

@sidthekidder
Copy link

I'm trying to run this project via docker-compose but I get some errors that I generally don't see in python libraries:

  • why do we need to include the entire source code in a separate parallel folder outside our project? Why can't we add mercury to our own existing docker-compose/Dockerfile via the regular requirements.txt? It is quite difficult to modify all services etc of a large project, just for one library - it is too opinionated (we don't use nginx nor postgres).

  • I get permission errors because it seems mercury tries to write files inside the /usr/src/python3.10/libraries/mercury folder. My docker user does not have write permissions across the entire image - I can't use root user here for security reasons. I also have a different base image.

Please solve these issues if possible and make it more suitable for production, I think mercury is a really helpful project overall!

@pplonski
Copy link
Contributor

Hi @sidthekidder,

Thanks for opening the issue. You can try to simply run mercury command in docker if you would like simple setup. Anyway, we will try to address your issues.

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

No branches or pull requests

2 participants