We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Even though Docker Compose is not recommended for production usage, sometimes users would like to use it for single-node deployment.
https://docs.docker.com/config/containers/resource_constraints/
We can leverage the built-in memory constraint and pass RW the correct total_memory
total_memory
By the way, need to add restart: always as well.
restart: always
No response
The text was updated successfully, but these errors were encountered:
fuyufjh
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
Even though Docker Compose is not recommended for production usage, sometimes users would like to use it for single-node deployment.
https://docs.docker.com/config/containers/resource_constraints/
We can leverage the built-in memory constraint and pass RW the correct
total_memory
By the way, need to add
restart: always
as well.Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: