Fixing CVAT v2.40.0 Deployment Issues (Docker-Compose On-Prem)

Recently deployed CVAT v2.40.0 on-prem using Docker Compose and it turned into a full debugging session.