8000 GitHub - ciazhar/darkstat
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ciazhar/darkstat

 
 

Repository files navigation

Darkstat

Darkstat - https://unix4lyfe.org/darkstat/

Running on the latest Phusion release (ubuntu 14.04), with darkstat from repos.

Pull image

docker pull mace/darkstat

Run container

docker run -d --net="host" --name=<container name> -v <local path to store db/log>:/config -v /etc/localtime:/etc/localtime:ro -e ETH=<Interface to monitor> -e PORT=<Webui port> -e IP_HOST=<hosts ip> -e IP_RANGE=<network to listen on> mace/darkstat

Please replace all user variables in the above command defined by <> with the correct values.

Web-UI

http://<host ip>:[PORT]

Example

docker run -d --net="host"  --name=darkstat -v /mylocal/directory/fordata:/config -v /etc/localtime:/etc/localtime:ro -e ETH=eth0 -e PORT=666 -e IP_HOST=192.168.1.10 -e IP_RANGE=192.168.1.0/255.255.255.0 mace/darkstat

Using Docker-compose

copy .env.example to .env and fill the value with your configuration, example :

INTERFACE=eth0
PORT=80
IP_HOST=192.168.0.2
GWSUBNET=192.168.0.1/24

then, build Dockerfile, run this command:

  $ docker build -t darkstats

if everythings done, let deploy the with compose. run command bellow:

docker-compose up -d

Additional notes

  • To clear the database just delete it on the host.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 62.8%
  • Dockerfile 37.2%
0