[add] ntopng
This commit is contained in:
parent
8c744d0959
commit
4ad119835c
5 changed files with 42 additions and 45 deletions
21
ntopng/docker-compose.yaml
Normal file
21
ntopng/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
version: '3'
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:alpine
|
||||
command: --save 900 1
|
||||
volumes:
|
||||
- ./data/redis:/data
|
||||
restart: on-failure:5
|
||||
network_mode: "host"
|
||||
ntopng:
|
||||
build:
|
||||
context: ntop
|
||||
dockerfile: Dockerfile
|
||||
command: ntopng -r localhost:6379 -d /ntopngcustom
|
||||
volumes:
|
||||
- ./data/ntopng:/var/lib/ntopng
|
||||
restart: on-failure:5
|
||||
network_mode: "host"
|
||||
depends_on:
|
||||
- redis
|
||||
Loading…
Add table
Add a link
Reference in a new issue