Advertisement
techblog

ntopng

Jan 2nd, 2020
218
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: "3.7"
  2. services:
  3.   ntopng:
  4.     container_name: "ntopng"
  5.     image: vimagick/ntopng
  6.     command: --community -d /var/lib/ntopng -i enp3s0 -r 127.0.0.1:6379@0 -w 0.0.0.0:3003
  7.     volumes:
  8.      - ./ntopng:/var/lib/ntopng
  9.     network_mode: host
  10.     restart: unless-stopped
  11.  
  12.   redis:
  13.     container_name: "ntopng-redis"
  14.     image: redis:alpine
  15.     command: --save 900 1
  16.     ports:
  17.      - "6379:6379"
  18.     volumes:
  19.      - ./ntopng/data/redis:/data
  20.     restart: unless-stopped
Advertisement
RAW Paste Data Copied
Advertisement