Using the gravitational decoupling by the minimal geometric deformation approach, we build an anisotropic version of the well-known Tolman VII solution, determining an exact and physically acceptable interior two-fluid solution that can represent behavior of compact objects. Comparison of the effective density and density of the perfect fluid is demonstrated explicitly. We show that the radial and tangential pressure are different in magnitude giving thus the anisotropy of the modified Tolman VII solution. The dependence of the anisotropy on the coupling constant is also shown.