GE Beverage and wine cooler

My GE zdbc240nbs beverage center recently stopped cooling and the compressor was getting very hot so I replaced the compressor start relay, overload relay and capacitor. The compressor seems to be running but is still isn’t cooling. Any thoughts

If the compressor is hot and vibrating, but the condenser coils are cool, you have a refrigerant leak/ bad compressor.