Dockerfile and configuration for the PySQM software to manage a SQM-LE device.
Install the latest version of Docker Engine for the wanted Linux distribution. Then, build it and run it
with docker compose
:
docker compose up -d
Images are uploaded with the included PHP script, which can be run with
docker exec -it --user pysqm pysqm-cdf-pysqm-1 bash /home/pysqm/upload_sqm_images.sh
Modify upload-pysqm-images.service
by inserting the correct name of the container. Once done so, install
the systemd timer with:
cp upload-pysqm-images.* /etc/systemd/system
systemctl daemon-reload
systemctl --now enable upload-pysqm-images.timer
This will upload the SQM images once every 10 minutes.