Add vnstat for throughput monitoring.
This commit is contained in:
parent
d2ebf7db4d
commit
9565764c08
4 changed files with 18 additions and 0 deletions
|
@ -125,3 +125,14 @@ set container name onepassword-sync volume credentials mode 'ro'
|
|||
set container name onepassword-sync volume data source '/tmp/onepassword/data'
|
||||
set container name onepassword-sync volume data destination '/home/opuser/.op/data'
|
||||
set container name onepassword-sync volume data mode 'rw'
|
||||
|
||||
# vnstat
|
||||
set container name vnstat allow-host-networks
|
||||
set container name vnstat environment EXCLUDE_PATTERN value '^docker|^veth|^br-|^lxc'
|
||||
set container name vnstat environment TZ value 'America/Chicago'
|
||||
set container name vnstat image 'ghcr.io/vergoh/vnstat:2.12'
|
||||
set container name vnstat memory '0'
|
||||
set container name vnstat shared-memory '0'
|
||||
set container name vnstat volume vnstat-data destination '/var/lib/vnstat'
|
||||
set container name vnstat volume vnstat-data mode 'rw'
|
||||
set container name vnstat volume vnstat-data source '/config/containers/vnstat/data'
|
1
containers/.gitignore
vendored
1
containers/.gitignore
vendored
|
@ -9,3 +9,4 @@
|
|||
!/haproxy/
|
||||
!/unifi/
|
||||
!/vector-agent/
|
||||
!/vnstat/
|
||||
|
|
6
containers/vnstat/.gitignore
vendored
Normal file
6
containers/vnstat/.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Ignore everything
|
||||
/*
|
||||
|
||||
# Track certain files and directories
|
||||
!.gitignore
|
||||
!.gitkeep
|
0
containers/vnstat/.gitkeep
Normal file
0
containers/vnstat/.gitkeep
Normal file
Reference in a new issue