Understanding how the properties of galaxies relate to the properties of the hot circum-galactic medium (CGM) around them can constrain galaxy evolution models. We aim to measure the scaling relations between the X-ray luminosity of the hot CGM and the fundamental properties (stellar mass and halo mass) of a galaxy. We measured the X-ray luminosity of the hot CGM based on the surface brightness profiles of central galaxy samples measured from Spectrum Roentgen Gamma (SRG)/eROSITA all-sky survey data. We related the X-ray luminosity to the galaxies' stellar and halo mass, and we compared the observed relations to the self-similar model and intrinsic (i.e., not forward-modeled) output of the IllustrisTNG, EAGLE, and SIMBA simulations. The average hot CGM X-ray luminosity ($L_ X,CGM $) correlates with the galaxy's stellar mass ($M_*$). It increases from $(1.6 $ to $(3.4 $, when $ increases from 10.0 to 11.5. A power law describes the correlation as $ X,CGM The hot CGM X-ray luminosity as a function of halo mass is measured within $ 500c )=11.3-13.7$, extending our knowledge of the scaling relation by more than two orders of magnitude. $L_ X,CGM $ increases with $M_ 500c $ from $(3.0 $ at $ 500c )=11.3$ to $(1.3 $ at $ 500c )=13.7$. The relation follows a power law of $ X,CGM 500c Our observations highlight the necessity of non-gravitational processes at the galaxy group scale while suggesting these processes are sub-dominant at the galaxy scale. We show that the outputs of current cosmological galaxy simulations generally align with the observational results uncovered here but with possibly important deviations in selected mass ranges. We explore, at the low mass end, the average scaling relations between the CGM X-ray luminosity and the galaxy's stellar mass or halo mass, which constitutes a new benchmark for galaxy evolution models and feedback processes.