The Ly-alpha forest around high-redshift galaxies