diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 81b46ed..6c867cc 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -104,6 +104,11 @@ services: {% if container.shm_size is defined %} shm_size: {{ container.shm_size }} {% endif %} +{% if container.ulimits is defined %} + nofile: + soft: {{ container.ulimits_soft }} + hard: {{ container.ulimits_hard }} +{% endif %} {% if container.dns is defined %} dns: {% for dns_entry in container.dns %}