-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpipeline-rabbitmq.yml
34 lines (32 loc) · 947 Bytes
/
pipeline-rabbitmq.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '2'
services:
# netpipe-rabbitmq
# subscribed to rabbitmq NEW_PACKETS key
# for networking packets to process
netpipe-rabbitmq:
container_name: "netpipe-rabbitmq"
hostname: netpiperabbitmq
image: jayjohnson/network-pipeline:latest
volumes:
- ./data:/opt/data
environment:
# name of the csv data set file
# and json archive
- DS_NAME=owasp-zap-training
- DS_DIR=/opt/data
# tracking label
- SOURCE_HOST=localdev
# connectivity to rabbitmq
- FORWARD_BROKER_URL=rabbitmq://rabbitmq:rabbitmq@localhost:5672//
# save every nth packet
- SAVE_AFTER_NUM=100
# stop processing after nth packets
- STOP_AFTER_NUM=-1
# stop if this file exists
- STOP_FILE=/opt/data/stop-running
# debug packet processing
- DEBUG_PACKETS=0
labels:
NAME: "netpipe-rabbitmq"
BROKER: "rabbitmq"
network_mode: "host"