Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Switch docker containers to use mem_reservation rather than mem_limit in deploy.yml

Michal Rutka51d7ad7fc465
diff --git a/profile/deploy.yml b/profile/deploy.yml
index 56a27a10a..01e569750 100644
--- a/profile/deploy.yml
+++ b/profile/deploy.yml
@@ -72,8 +72,7 @@ services:
- "443:443"
# Resource limits
- mem_limit: 100m
- memswap_limit: 100m
+ mem_reservation: 512m
oom_kill_disable: true
# Configure logging of the container