ntopng init
This commit is contained in:
parent
d02ecd4917
commit
e37f830e85
1
ntop/.gitignore
vendored
Normal file
1
ntop/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
./volumes/**
|
29
ntop/docker-compose.yml
Normal file
29
ntop/docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
nprobe_collector:
|
||||
image: ntop/nprobe:stable
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./volumes/nprobe.license:/etc/nprobe.license:ro
|
||||
command: ['nprobe', '--zmq', '"tcp://ntopng:5556"', '--interface', 'none', '-n', 'none', '--collector-port', '2055', '-T', '"@NTOPNG@"', '--collector-passthrough']
|
||||
|
||||
ntopng:
|
||||
image: ntop/ntopng:latest
|
||||
restart: always
|
||||
network_mode: "host"
|
||||
volumes:
|
||||
- ./volumes/ntopng.license:/etc/ntopng.license:ro
|
||||
command: ['--disable-login', '--interface', 'tcp://*:5556c', '-F', 'clickhouse'] # , '--insecure']
|
||||
depends_on:
|
||||
- clickhouse
|
||||
- nprobe_collector
|
||||
|
||||
clickhouse:
|
||||
image: clickhouse/clickhouse-server:latest
|
||||
network_mode: "host"
|
||||
restart: always
|
||||
volumes:
|
||||
- ./volumes/clickhouse_data:/var/lib/clickhouse
|
||||
- ./volumes/clickhouse_logs:/var/log/clickhouse-server/
|
||||
|
Loading…
x
Reference in New Issue
Block a user