Kiwix is probably the easiest / most readily available solution, but wikipedia runs on mediawiki which is also FOSS:
en.wikipedia.org/wiki/Mediawiki
www.mediawiki.org/wiki/…/Download
I’m guessing that most of the database download options provided by wikipedia itself should be compatible with a personal wikimedia installation:
eskuero@lemmy.fromshado.ws 11 months ago
The easiest way by far is downloading an existing dump from kiwix
Per example wikipedia_en_all_nopic_2024-06.zim is only 54GB since it only contains text. Then via docker you could use this compose file where you have your .zim files in the wikis volume:
Theorically you can actually one of the wikipedia database dumps with mediawiki but I don’t known of any easy plug and play guide