diff --git a/data/clearndr/sub-compose/suricata.yaml b/data/clearndr/sub-compose/suricata.yaml index ca027b3..61cc85f 100644 --- a/data/clearndr/sub-compose/suricata.yaml +++ b/data/clearndr/sub-compose/suricata.yaml @@ -33,37 +33,9 @@ services: volumes: - suricata-run:/var/run/suricata/ - ../containers-data/suricata/logs:/var/log/suricata - - ../containers-data/suricata/rules:/rules + - ../containers-data/suricata/rules:/etc/suricata/rules - ../containers-data/suricata/etc:/etc/suricata - ../containers-data/suricata/logrotate:/etc/logrotate.d/ - - init-pcap: - image: busybox - entrypoint: /bin/sh -c - command: ['chown -R 1000:1000 /replay'] - restart: on-failure - volumes: - - {{ .Release.location | default ".." }}/{{.Values.suricata.pcapreplay.hostpath | default "containers-data/suricata/replay"}}:/replay - - read-pcap: - image: jasonish/suricata:master-amd64-profiling - entrypoint: /new_entrypoint.sh - command: ["-k none --pcap-file-continuous -r /replay --runmode autofp -l /var/log/suricata --set sensor-name={{.suricata.interfaces | default "dummy0"}}"] - restart: on-failure - configs: - - source: suricata-new-entrypoint - target: /new_entrypoint.sh - - source: suricata-selks6-addin - target: /etc/suricata-configs/selks6-addin.yaml - volumes: - - ../containers-data/suricata/logs:/var/log/suricata - - suricata-rules:/etc/suricata/rules - - suricata-run:/var/run/suricata/ - - ../containers-data/suricata/etc:/etc/suricata - - {{ .Release.location | default ".." }}/{{.Values.suricata.pcapreplay.hostpath | default "containers-data/suricata/replay"}}:/replay - cap_add: - - NET_ADMIN - - SYS_NICE depends_on: - init-pcap: - condition: service_completed_successfully \ No newline at end of file + scirius: + condition: service_healthy \ No newline at end of file