As rpimonitor stores its rrd data in /var/lib/rpimonitor/stat/. If you like your containers to be able to be recreated without losing data, as I do, a suggestion would be to add a volume mapping to a localhost folder.
--volume=/your-local-path:/var/lib/rpimonitor/stat/
The rrd files will be stored locally and the container can be removed and recreated at will.
A systemd file could then be used which removed the container when stopped and recreates it started.
First of all. This is great work.
As rpimonitor stores its rrd data in /var/lib/rpimonitor/stat/. If you like your containers to be able to be recreated without losing data, as I do, a suggestion would be to add a volume mapping to a localhost folder.
--volume=/your-local-path:/var/lib/rpimonitor/stat/
The rrd files will be stored locally and the container can be removed and recreated at will.A systemd file could then be used which removed the container when stopped and recreates it started.