How to hold large capacitors in place
Parts Express sell 1 3/8" mounting brackets, and you can find other sizes at Digikey and other online stores. I highly recommend you use them, as a large capacitor coming adrift can cost way more than you save by hot-gluing the thing. I was a repair tech before getting becoming an engineer - you should see the damage a loose cap can cause.