mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
fix bind if statement
This commit is contained in:
@@ -37,13 +37,13 @@ strelka_coordinator:
|
|||||||
- {{ XTRAENV }}
|
- {{ XTRAENV }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if DOCKER.containers['so-strelka-coordinator'].custom_bind_mounts %}
|
|
||||||
- binds:
|
- binds:
|
||||||
- /nsm/strelka/coord-redis-data:/data:rw
|
- /nsm/strelka/coord-redis-data:/data:rw
|
||||||
|
{% if DOCKER.containers['so-strelka-coordinator'].custom_bind_mounts %}
|
||||||
{% 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 %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
delete_so-strelka-coordinator_so-status.disabled:
|
delete_so-strelka-coordinator_so-status.disabled:
|
||||||
file.uncomment:
|
file.uncomment:
|
||||||
- name: /opt/so/conf/so-status/so-status.conf
|
- name: /opt/so/conf/so-status/so-status.conf
|
||||||
|
|||||||
@@ -31,13 +31,13 @@ strelka_gatekeeper:
|
|||||||
{% for BINDING in DOCKER.containers['so-strelka-gatekeeper'].port_bindings %}
|
{% for BINDING in DOCKER.containers['so-strelka-gatekeeper'].port_bindings %}
|
||||||
- {{ BINDING }}
|
- {{ BINDING }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
|
||||||
- binds:
|
- binds:
|
||||||
- /nsm/strelka/gk-redis-data:/data:rw
|
- /nsm/strelka/gk-redis-data:/data:rw
|
||||||
{% for BIND in DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
{% if DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
||||||
|
{% for BIND in DOCKER.containers['so-strelka-gatekeeper'].custom_bind_mounts %}
|
||||||
- {{ BIND }}
|
- {{ BIND }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if DOCKER.containers['so-strelka-gatekeeper'].extra_env %}
|
{% if DOCKER.containers['so-strelka-gatekeeper'].extra_env %}
|
||||||
- environment:
|
- environment:
|
||||||
{% for XTRAENV in DOCKER.containers['so-strelka-gatekeeper'].extra_env %}
|
{% for XTRAENV in DOCKER.containers['so-strelka-gatekeeper'].extra_env %}
|
||||||
|
|||||||
Reference in New Issue
Block a user