1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/ntopng/docker-compose.yml
2023-05-04 14:25:02 +08:00

21 lines
427 B
YAML

version: "3.8"
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:7-alpine
command: --save 900 1
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data/redis:/data
restart: unless-stopped