mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
31 lines
706 B
Plaintext
31 lines
706 B
Plaintext
soctopusdir:
|
|
file.directory:
|
|
- name: /opt/so/conf/soctopus
|
|
- user: 939
|
|
- group: 939
|
|
- makedirs: True
|
|
|
|
soctopussync:
|
|
file.recurse:
|
|
- name: /opt/so/conf/soctopus
|
|
- source: salt://soctopus/files
|
|
- user: 939
|
|
- group: 939
|
|
- template: jinja
|
|
|
|
so-soctopusimage:
|
|
cmd.run:
|
|
- name: docker pull --disable-content-trust=false soshybridhunter/so-soctopus:HH1.0.8
|
|
|
|
so-soctopus:
|
|
docker_container.running:
|
|
- require:
|
|
- so-soctopusimage
|
|
- image: soshybridhunter/so-soctopus:HH1.0.8
|
|
- hostname: soctopus
|
|
- name: so-soctopus
|
|
- binds:
|
|
- /opt/so/conf/soctopus/SOCtopus.conf:/SOCtopus/SOCtopus.conf:ro
|
|
- port_bindings:
|
|
- 0.0.0.0:7000:7000
|