Initial checkin
This commit is contained in:
commit
6b89ebb820
|
@ -0,0 +1,21 @@
|
|||
# ntopng docker deployment
|
||||
|
||||
## Introduction
|
||||
|
||||
This docker-compose configuration will deploy an ntopng server.
|
||||
|
||||
## Links
|
||||
|
||||
* https://www.ntop.org/
|
||||
* https://www.ntop.org/products/traffic-analysis/ntop/
|
||||
* https://hub.docker.com/r/ntop/ntopng
|
||||
|
||||
## Directories
|
||||
|
||||
<pre>
|
||||
docker_ntopng
|
||||
└── data
|
||||
├── ntopng
|
||||
└── redis
|
||||
</pre>
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
|
||||
ntopng:
|
||||
container_name: ntopng
|
||||
image: vimagick/ntopng
|
||||
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:8080
|
||||
volumes:
|
||||
- ./data/ntopng:/var/lib/ntopng
|
||||
network_mode: host
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/Toronto
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
container_name: ntopng-redis
|
||||
image: redis:alpine
|
||||
command: --save 900 1
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- ./data/redis:/data
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/Toronto
|
||||
restart: unless-stopped
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue