mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
ES salt module - rename ES docker and frew updates
This commit is contained in:
@@ -70,6 +70,7 @@ so-elasticsearch:
|
|||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: securityonionsolutions/so-elasticsearch:latest
|
- image: securityonionsolutions/so-elasticsearch:latest
|
||||||
- hostname: elasticsearch
|
- hostname: elasticsearch
|
||||||
|
- name: elasticsearch
|
||||||
- user: elasticsearch
|
- user: elasticsearch
|
||||||
- environment:
|
- environment:
|
||||||
- bootstrap.memory_lock=true
|
- bootstrap.memory_lock=true
|
||||||
@@ -92,7 +93,7 @@ so-elasticsearch:
|
|||||||
- network_mode: so-elastic-net
|
- network_mode: so-elastic-net
|
||||||
|
|
||||||
# See if Freqserver is enabled
|
# See if Freqserver is enabled
|
||||||
{% if freq == 1 }
|
{% if freq == 1 %}
|
||||||
|
|
||||||
# Create the user
|
# Create the user
|
||||||
fservergroup:
|
fservergroup:
|
||||||
@@ -107,11 +108,21 @@ freqserver:
|
|||||||
- gid: 935
|
- gid: 935
|
||||||
- home: /opt/so/conf/freqserver
|
- home: /opt/so/conf/freqserver
|
||||||
|
|
||||||
|
# Create the log directory
|
||||||
|
freqlogdir:
|
||||||
|
file.directory:
|
||||||
|
- name: /opt/so/log/freq_server
|
||||||
|
- user: 935
|
||||||
|
- group: 935
|
||||||
|
- makedirs: True
|
||||||
|
|
||||||
so-freq:
|
so-freq:
|
||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: securityonionsolutions/so-freqserver
|
- image: securityonionsolutions/so-freqserver
|
||||||
- hostname: freqserver
|
- hostname: freqserver
|
||||||
- user: freqserver
|
- user: freqserver
|
||||||
- binds:
|
- binds:
|
||||||
- /var/log/freq_server:/var/log/freq_server:rw
|
- /opt/so/log/freq_server:/var/log/freq_server:rw
|
||||||
- network_mode: so-elastic-net
|
- network_mode: so-elastic-net
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user