Whole project was broken and abandoned

Reworked the whole concept of the Dockerfile to make it work
Well, I did ask about that remote proxy 10 days ago and and it's still unanswered. https://www.openproject.org/topics/1836
The issue with using ActionDispatch::RemoteIp is that Ruby is Chinese to me, so I have no idea where to start.