title: Is there any stable tool for complete web deployment & CI?
body: <p>I've spent a plenty of hours trying to find a full stable solution for an application deployment (in my case it's <code>php</code>). There are a <a href="https://stackoverflow.com/questions/425692/what-is-your-preferred-php-deployment-strategy">lot of</a> <a href="https://stackoverflow.com/questions/29113382/a-deployment-tool-for-php">SO</a> <a href="https://stackoverflow.com/questions/2180460/setting-up-a-deployment-build-ci-cycle-for-php-projects">answers</a>, where <strong>phing</strong> / <strong>capistrano</strong> / <strong>hudson</strong> are being proposed, but such propositions make me feel sad.</p>
  
  <p>The idea is to have a magic box with all your configuration for all environments (like dev, prod, test and so on), to provide a possibility to simply type <code>magicbox deploy --env prod</code> on a bare linux machine (VPS) to fully deploy an application, including:  </p>
  
  <ul>
  <li>configured nginx / apache</li>
  <li>configured php with all dependencies and mods</li>
  <li>configured mysql with needed users and databases</li>
  <li>configured search engines (like Sphinx, ElasticSearch)</li>
  <li>a system to manage the installed <em>box</em>, like making <strong>soft</strong> / <strong>hard</strong> relaunch (without / with lose of persistent data)</li>
  </ul>
  
  <p>I was inspired with <strong>Vagrant</strong> / <strong>Docker</strong>, because they seem very similar to what I am looking for, but a lot of guys are saying they are <a href="https://www.quora.com/Is-Docker-ready-for-production" rel="nofollow noreferrer">not ready</a> <a href="https://www.quora.com/Are-docker-containers-used-in-the-production-environment" rel="nofollow noreferrer">for use</a> <a href="https://serverfault.com/questions/526386/can-i-use-vagrant-for-production-environments">in production</a>. Moreover, I am a dabbler in virtualization and it is not clear to me how Docker works, what using Docker means for a machine perfomance and is it possible to use it with <strong>any</strong> VPS provider.</p>
  
  <p>Thanks a lot for sharing your expirience.</p>