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

21 lines
427 B
YAML
Raw Normal View History

2021-01-13 08:32:30 +02:00
version: "3.8"
2019-05-25 13:47:03 +02:00
services:
ntopng:
image: vimagick/ntopng
2019-05-28 01:32:18 +02:00
command: --community -d /var/lib/ntopng -i eth0 -r 127.0.0.1:6379@0 -w 127.0.0.1:3000
2019-05-25 13:47:03 +02:00
volumes:
2019-07-08 05:22:44 +02:00
- ./data/ntopng:/var/lib/ntopng
2019-05-26 05:35:13 +02:00
network_mode: host
2019-05-25 13:47:03 +02:00
restart: unless-stopped
redis:
2023-05-04 08:25:02 +02:00
image: redis:7-alpine
2019-05-25 13:47:03 +02:00
command: --save 900 1
2019-05-26 05:35:13 +02:00
ports:
2019-05-27 05:43:50 +02:00
- "127.0.0.1:6379:6379"
2019-05-25 13:47:03 +02:00
volumes:
- ./data/redis:/data
restart: unless-stopped