1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/ntopng/docker-compose.yml
2019-07-08 11:22:44 +08:00

21 lines
423 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 127.0.0.1:3000
volumes:
- ./data/ntopng:/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