title: Docker Set Up mysql db environment
body: <p>Hello guys im setting up an new wordpress docker machine im on the point to configure my sql db :</p>
  
  <pre><code>  db:
      build:
        context: ./Docker/mysql
        dockerfile: Dockerfile
      container_name: mysql
      volumes:
         - db_data:/var/lib/mysql
      environment:
          MYSQL_ROOT_PASSWORD: "${DB_ROOT_PASSWORD}"
          MYSQL_DATABASE: "${DB_NAME}"
          MYSQL_USER: "${DB_USERNAME}"
          MYSQL_PASSWORD: "${DB_PASSWORD}"
      networks:
        - back
  </code></pre>
  
  <p>Dockerfile for sql:</p>
  
  <pre><code>FROM mysql:latest
  </code></pre>
  
  <p>this also works fine problem is i don't realy know where i should set the environment props like db name user and so on. any suggestions? </p>