-
Notifications
You must be signed in to change notification settings - Fork 10
/
pipeline-redis.yml
38 lines (36 loc) · 1.03 KB
/
pipeline-redis.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
35
36
37
38
version: '2'
services:
# netpipe-redis
# subscribed to redis NEW_PACKETS key
# for networking packets to process
netpipe-redis:
container_name: "netpipe-redis"
hostname: netpiperedis
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 redis
# rabbitmq is supported as well
# but the capture tools need to export
# the FORWARD_BROKER_URL as well for
# pub/sub to work
- FORWARD_BROKER_URL=redis://localhost:6379/15
# 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-redis"
BROKER: "redis"
network_mode: "host"