Initial checkin

This commit is contained in:
Radar231 2021-08-02 22:53:01 -04:00
commit 6b89ebb820
4 changed files with 55 additions and 0 deletions

21
README.md Normal file
View File

@ -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
data/ntopng/.placeholder Normal file
View File

0
data/redis/.placeholder Normal file
View File

34
docker-compose.yml Normal file
View File

@ -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