diff --git a/docker-compose.yml b/docker-compose.yml
index 027e4df..a7afbd6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -21,3 +21,7 @@ services:
       - "poro_cards:/usr/src/patched_porobot/data:r"
     env_file:
       - stack.env
+    deploy:
+      resources:
+        limits:
+          memory: 16M