title: Docker compose: Invalid interpolation format for "environment" option in service
body: <p>Hi in docker compose I have:</p>
  
  <pre><code> environment:
        - AWS_ACCESS_KEY_ID=$(aws --profile default configure get aws_access_key_id)
        - AWS_SECRET_ACCESS_KEY=$(aws --profile default configure get aws_secret_access_key)
  </code></pre>
  
  <p>But it returns me an error like in topic.
  Anyone knows how to pass those variables ?</p>
  
  <p>Thanks</p>