Docker compose error Licence_key

I am trying to run cluster in a box using docker. When i try to run docker-compose up i get an error that variable from .yaml file LICENCE_KEY is not specified although it is cleary visible when i run command : sudo -E docker-compose config (image shown below)


As we see on a picture when running config there is my licence key. But when i try to compose it there is an error.
Can anyone provide feedback ? I am using sudo -E because i tried if that solved the case but it didnt… its the same as shown on picture.