Hi @all,
for documentation.
TL;TR: set the resolver to 127.0.0.11
As described in the article: https://stackoverflow.com/questions/50121492/using-nginx-map-directive-to-dynamically-set-proxy-upstream/50122194#50122194, my problem is that apparently DNS resolution does not work in an docker environment out of the box.
If you check the article: https://www.emmanuelgautier.com/blog/nginx-docker-dns-resolution
you find the fix.
Thanks Frank