mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-05 04:12:12 +02:00
Change ulimits to structured dict format and add daemon.json ulimit support
Convert ulimits from flat strings to structured dicts with name, soft, and hard fields for better UI experience. Add default_ulimits as a configurable setting that dynamically renders into daemon.json, giving two layers of control: global defaults via the daemon and per-container overrides.
This commit is contained in:
@@ -43,7 +43,7 @@ so-sensoroni:
|
||||
{% if DOCKER.containers['so-sensoroni'].ulimits %}
|
||||
- ulimits:
|
||||
{% for ULIMIT in DOCKER.containers['so-sensoroni'].ulimits %}
|
||||
- {{ ULIMIT }}
|
||||
- {{ ULIMIT.name }}={{ ULIMIT.soft }}:{{ ULIMIT.hard }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
- watch:
|
||||
|
||||
Reference in New Issue
Block a user