Page MenuHomeDevCentral

D2807.diff
No OneTemporary

D2807.diff

diff --git a/roles/paas-docker/containers/hauk.sls b/roles/paas-docker/containers/hauk.sls
--- a/roles/paas-docker/containers/hauk.sls
+++ b/roles/paas-docker/containers/hauk.sls
@@ -54,4 +54,9 @@
- port_bindings:
- {{ container['app_port'] }}:80
+ # Prevent the container from using swap
+ # Privacy: data is so only stored on RAM, not on disk
+ - mem_limit: 256m
+ - memswap_limit: 256m
+
{% endfor %}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 00:53 (19 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2263611
Default Alt Text
D2807.diff (433 B)

Event Timeline