Connecting telegraf with InfluxDB

When slightly diviate from the method described on the website and adept the url to the name in the docker-compose.yaml every thing works. (although I thought I tried out the very same setting on the day before.)