Stars: 143
Forks: 60
Pull Requests: 27
Issues: 30
Watchers: 10
Last Updated: 2021-03-13 16:00:09
A responsive web UI to view network traffic statistics provided by vnStat (with support for version 2.x)
License:
Languages: PHP, CSS, Dockerfile, Smarty
This dashboard is an adaptation of vnstat-php-frontend by bjd using Bootstrap written in PHP. It provides the following:
$ docker build . -t amarston/vnstat-dashboard:latest
$ docker push amarston/vnstat-dashboard:latest
$ docker run --name vnstat-dashboard -p 80:80 -v /usr/bin/vnstat:/usr/bin/vnstat -v /var/lib/vnstat:/var/lib/vnstat -d amarston/vnstat-dashboard:latest
$ docker stop vnstat-dashboard
$ cp -rp app/ /var/www/html/vnstat/
$ cd /var/www/html/vnstat/
$ composer install
Copyright (C) 2019 Alexander Marston ([email protected])
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.