title: Using pimcore in Docker environment
body: <p>We are currently rolling out Pimcore 5 in our Docker Kubernetes environment but we didn't find an appropriate answer for the following question yet:</p>
  
  <p>Which folders need to be persistent?</p>
  
  <p>The documentation points out that the folders <strong>/var</strong> and <strong>/web/var</strong> are used to safe logs and assets (from the admin interface). Are there any other folders that need to be persistent to keep the environment stable even after a container restart / rebuild?</p>
  
  <p>Are there any problems with updates or downsides if we run a setup like this:</p>
  
  <ul>
  <li>Git Repository for our Code Base</li>
  <li>PHP-fpm Docker image that holds the code base (plus nginx and redis container)</li>
  <li>Consistent Database</li>
  </ul>
  
  <p>We would also like to share our results when we managed to come up with a good solution.</p>
  
  <p>Thank you very much! 
  I know this question is kind of specific :)</p>