mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
40 lines
849 B
Plaintext
40 lines
849 B
Plaintext
# Add ES Group
|
|
kibanasearchgroup:
|
|
group.present:
|
|
- name: elasticsearch
|
|
- gid: 932
|
|
|
|
# Add ES user
|
|
kibanasearch:
|
|
user.present:
|
|
- uid: 932
|
|
- gid: 932
|
|
- home: /opt/so/conf/kibana
|
|
- createhome: False
|
|
|
|
# Drop the correct nginx config based on role
|
|
|
|
kibanaconfdir:
|
|
file.directory:
|
|
- name: /opt/so/conf/kibana
|
|
- user: 932
|
|
- group: 939
|
|
- makedirs: True
|
|
|
|
|
|
# Start the kibana docker
|
|
so-kibana:
|
|
docker_container.running:
|
|
- image: toosmooth/so-kibana:test2
|
|
- hostname: kibana
|
|
- user: kibana
|
|
- binds:
|
|
- /opt/so:/opt/so:rw
|
|
- /opt/so/conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- /opt/so/log/nginx/:/var/log/nginx:rw
|
|
- /opt/so/tmp/nginx/:/var/lib/nginx:rw
|
|
- /opt/so/tmp/nginx/:/run:rw
|
|
- network_mode: so-elastic-net
|
|
- port_bindings:
|
|
- 127.0.01:5601:5601
|