title: Docker Compose - How to execute multiple commands?
body: <p>I want to do something like this where I can run multiple commands in following codes:</p>
  <pre class="lang-yaml prettyprint-override"><code>db:
    image: postgres
  web:
    build: .
    command: python manage.py migrate
    command: python manage.py runserver 0.0.0.0:8000
    volumes:
      - .:/code
    ports:
      - &quot;8000:8000&quot;
    links:
      - db
  </code></pre>
  <p>How could I execute multiple commands?</p>
  <p>Thanks.</p>