-
Notifications
You must be signed in to change notification settings - Fork 57
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 containers keep restarting #206
Comments
The problem is the pedantic version In the requirement.txt most python module have no version or pinned down to a specific version:
That is bad practice and exactly causes such issues. The proper way to define requirement is to define a version range. if you change the line in the requirements.txt for the pydantic module, rebuilt the containers it works again. Usually all dependencies in requirements.txt should have a range from current to next major/minor release to get all security updates, but avoid problems with breaking changes between versions. Pining down modules to specific version is also a bad idea as you miss out on all security updates. |
Thanks, any chance we can integrate in the main repo? |
Feel free to open PR and i will look to merge |
I've stopped the PL because I've noticed that the containers are still reloading. This time I think the redis certificate has expired:
@tbotnz would you be able to help? |
There is a script in the main directory of the repo called "redis_gen_new_certs.sh". Run the script, then rebuild the containers. It will work after that. |
I've been able to make them work and I've triggered the PR. Please review |
@tbotnz any chance you can review please? |
I have done a fresh install of netpalm but the containers do not stay UP.
This is the error I am getting when running docker-compose not in background
The text was updated successfully, but these errors were encountered: