title: Developing Django with Docker
body: <p>I am trying to create myself a development environment for a Django web app  using Docker.<br>
  My question is how should I set it up for development?<br></p>
  
  <ol>
  <li>I've created a <code>Dockerfile</code> which uses the Django dev server and db, is that good? Or should I use separate container with dedicated web and db servers?</li>
  <li>How should I create new migrations? Let's say I'm mounting the code into the container using <code>-v</code>, changes to models requires creating new migrations, so, should I make the mount writable and use create migrations from within the container? What other options are there?</li>
  <li>I'm thinking about adding a <code>RUN</code> instruction to the <code>Dockerfile</code> which will apply the migrations in order to use cache when the migrations haven't changed. Is this a good practice?</li>
  </ol>