title: How to Dockerize a PHP app
body: <p>I am trying to understand the general process that goes into deploying a PHP web app through Docker. I have a web app developed in LAMP.</p>
  
  <p>So far I understood that firs of all I have to download and install Docker itself. Afterwards I have to install the Docker Composer. Then using the Composer I have to create a container that will contain the image of my server (Apache).</p>
  
  <p>And this is where I get confused. Do I have to then create a container for my database and another one for the application itself (the directory containing the code) or do I have one container for the server the database and the app?</p>
  
  <p>I dont need a detailed explanation, just the general idea behind the process then I can figure out the rest on my own</p>
  
  <p>Thank you to anyone who can provide any help.</p>