mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
21 lines
419 B
YAML
21 lines
419 B
YAML
version: '3'
|
|
|
|
services:
|
|
|
|
ntopng:
|
|
image: vimagick/ntopng
|
|
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3000
|
|
volumes:
|
|
- ./data/ntop:/var/lib/ntopng
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
command: --save 900 1
|
|
ports:
|
|
- "127.0.0.1:6379:6379"
|
|
volumes:
|
|
- ./data/redis:/data
|
|
restart: unless-stopped
|