mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
avoid volume sprawl
This commit is contained in:
@@ -43,6 +43,20 @@ strelka_sbin:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- file_mode: 755
|
- file_mode: 755
|
||||||
|
|
||||||
|
strelkagkredisdatadir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/strelka/gk-redis-data
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
|
strelkacoordredisdatadir:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/strelka/coord-redis-data
|
||||||
|
- user: 939
|
||||||
|
- group: 939
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
{{sls}}_state_not_allowed:
|
{{sls}}_state_not_allowed:
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ strelka_coordinator:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if DOCKER.containers['so-strelka-coordinator'].custom_bind_mounts %}
|
{% if DOCKER.containers['so-strelka-coordinator'].custom_bind_mounts %}
|
||||||
- binds:
|
- binds:
|
||||||
|
- /nsm/strelka/coord-redis-data:/data:rw
|
||||||
{% for BIND in DOCKER.containers['so-strelka-coordinator'].custom_bind_mounts %}
|
{% for BIND in DOCKER.containers['so-strelka-coordinator'].custom_bind_mounts %}
|
||||||
- {{ BIND }}
|
- {{ BIND }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ strelka_gatekeeper:
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
{% if DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
||||||
- binds:
|
- binds:
|
||||||
|
- /nsm/strelka/gk-redis-data:/data:rw
|
||||||
{% for BIND in DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
{% for BIND in DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
||||||
- {{ BIND }}
|
- {{ BIND }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user