Skip to content

Commit ed6a606

Browse files
committed
adds memlock to ulimits
1 parent b245c46 commit ed6a606

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

templates/docker-compose.yml.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ services:
115115
{{ param }}: {{ value }}
116116
{% endfor %}
117117
{% endif %}
118+
{% if container.ulimits.memlock is defined %}
119+
memlock:
120+
{% for param, value in container.ulimits.memlock.items() %}
121+
{{ param }}: {{ value }}
122+
{% endfor %}
123+
{% endif %}
118124
{% endif %}
119125
{% if container.tmpfs is defined %}
120126
tmpfs:

0 commit comments

Comments
 (0)