About photos going onto other Apple products
In the iCloud settings of the Mac minis turn on photos. They will both sync photos.

To not have the photos synced to the phone simply don’t have the photos option enabled in the iCloud settings.