Software: Apple does not provide native Thunderbolt-2 eGPU support. Some sort of third party / open source kernel patch/extension software will be required.
Hardware: For an enclosure I would suggest either Akitio Node Titan (least expensive option still sold new), the Razer Core X (physically larger, good if you need the extra card length, bad if you need desk space), or the Sonnet Breakaway Box (what I've been using with a 2018 mini since 2019). For compatibile graphics cards see the link everyone else has already shared for the OS you have installed (Use an eGPU with your Mac - Apple Support). I'd suggest an RX 5500XT/5600XT/5700/5700XT. The 6800/6800XT might be an option if you only need to use Big Sur, but those cards are frequently built too long to fit inside an eGFX enclosures, so double check card length vs maximum enclosure size.
Performance Notes: eGPUs work best with external monitors directly connected to the GPU. Rendering to the internal display will have a performance penalty that scales with frame rates, and this penalty is notably worse on TB2 (16GBps PCIe 2.0x4) than on TB3 (22-32GBps) so performance improvements will not be as great as expected from PC performance numbers. Also the open source kernel patches may require disabling system integrity protection making for a performance/security trade off.