Created
January 7, 2023 17:05
-
-
Save nyx-rattapoom/f2fca49b5563043b5e4ec0554aeccfb8 to your computer and use it in GitHub Desktop.
docker resource limit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
service_name: | |
image: repo/image_tag | |
deploy: | |
cpus: 0.5 | |
mem_limit: 2g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment