-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.8 KB
/
Copy pathdocker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.8 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: "3.8"
services:
sflow_collector:
image: pmacct/sfacctd:latest
restart: always
network_mode: host
volumes:
- ./sfacctd.conf:/etc/pmacct/sfacctd.conf:ro
- ./networks.lst:/etc/pmacct/networks.lst:ro
- ./peering_agent.map:/etc/pmacct/peering_agent.map:ro
- ./pretag.map:/etc/pmacct/pretag.map:ro
netflow_collector:
image: pmacct/nfacctd:latest
restart: always
network_mode: host
volumes:
- ./nfacctd.conf:/etc/pmacct/nfacctd.conf:ro
- ./networks.lst:/etc/pmacct/networks.lst:ro
- ./peering_agent.map:/etc/pmacct/peering_agent.map:ro
- ./pretag.map:/etc/pmacct/pretag.map:ro
flow-consumer:
image: serverforge/flow-consumer:v0.0.8-beta
depends_on:
- kafka
- clickhouse
network_mode: host
restart: always
environment:
- brokers=localhost:9092
- topic=pmacct.acct
- database=dankflows
- policy=365 DAYS
zookeeper:
image: zookeeper
container_name: zookeeper
restart: always
network_mode: host
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:
image: ubuntu/kafka
container_name: kafka
restart: always
depends_on:
- zookeeper
network_mode: host
environment:
- KAFKA_CREATE_TOPICS="pmacct.acct:3:1"
- KAFKA_ZOOKEEPER_CONNECT=127.0.0.1:2181
- KAFKA_LOG_RETENTION_HOURS=1
- ALLOW_PLAINTEXT_LISTENER=yes
clickhouse:
image: clickhouse/clickhouse-server
container_name: clickhouse
restart: always
network_mode: host
volumes:
- ./clickhouse-data:/var/lib/clickhouse/
- ./no_logging.xml:/etc/clickhouse-server/users.d/no_logging.xml
- ./disable_all_the_logs.xml:/etc/clickhouse-server/config.d/disable_all_the_logs.xml
- ./no_verbose.xml:/etc/clickhouse-server/config.d/no_verbose.xml