Solved.
I had named the service "backend" in docker-compose.yml and still had the old name (in my case "testapp") in docker-compose.override.yml. Matching the service names in these two files solved the problem for me.