tpot's standard.yml
doesn't use the official Elasticsearch image.
I believe the image it relies on is this one: tpotce/Dockerfile at master · telekom-security/tpotce · GitHub which installs Elasticsearch from a tarball, and doesn't have the same support for configuration via docker environment variables.
You'll either need to take this up with them, or switch to using the official Elasticsearch Docker image.