This is a complex issue that requires balancing property management with compassion. First, I'd recommend examining the root causes. Often, people seek out these areas for perceived shelter and privacy. A direct but respectful approach, if safe, is to communicate that this is not a safe or permitted place to sleep. You could provide information on local shelters or outreach services.
For physical deterrents, consider installing secure, locking lids on bins if you don't have them. Motion-activated lighting is a highly effective and non-confrontational method, as it removes the cover of darkness. Regularly scheduled waste pickups, especially in the early morning, can disrupt the pattern of use for sleeping. You might also redesign the space by installing angled fencing or bollards around the bin enclosure to prevent easy access to the sides and rear, while ensuring it doesn't impede service vehicles.
The most sustainable solution involves collaboration. Contact local homeless outreach organizations or city services. They can visit the location, engage with individuals, and connect them to resources like shelters, housing programs, or mental health support. This addresses the human need rather than just displacing it. Remember, simply making the area inhospitable without offering alternatives often just moves the problem to another nearby location. A combination of secure infrastructure, consistent policy, and partnership with social services tends to yield the most humane and lasting results for everyone in the community.