Philip created this video for setting up your own solo pool, but it was not for Pi OS per se:
https://www.youtube.com/watch?v=dAa6PkVN-3o
Check for updated README-SOLOMINING instructions on the ckpool git repository, as it shows how to configure it for bitcoin core versions 28 and later.