title: Environment variables not found symfony
body: <p>I have a docker container :</p>
  
  <pre><code>services:
  php-fpm:
      build:
          context: ./docker/php-fpm
  
      volumes:
          - ./symfony:/home/home
      container_name: php
      ports:
          - "9004:9001"
      networks:
          - local
      working_dir: /home/home
      environment:
          - DATABASE_HOST=test
          - DATABASE_PORT=
          - DATABASE_NAME=test
  </code></pre>
  
  <p>I made : </p>
  
  <ol>
  <li>docker-compose build --no-cache</li>
  <li>docker-compose up</li>
  <li>clear cache</li>
  </ol>
  
  <p>When I refresh the page I get : <code>Environment variable not found: "DATABASE_HOST".</code>. What's the problem I don't understand. I spent a lot of time analyze this issue. Have you an idea about that ? Thx in advance. Btw when I do <code>docker inspect</code> I see all this environment variables assigned.</p>