DDEV config.yaml blown away during create-project
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3587501. --> Reported by: [tommyk](https://www.drupal.org/user/382217) Related to !876 >>> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>I&rsquo;m pretty new to trying out Drupal CMS, but not new to Drupal sites with DDEV. I am definitely <em>not</em> liking that running <code>ddev composer create-project drupal/cms</code> blows away my <code>.ddev/config.yaml</code> file and replaces it with its own bare bones one. I deliberately run <code>ddev config</code> with my own needed parameters for db, php, and webserver and I like to be able to see them in config.yaml.</p> <p>Is there anything I can do to prevent this from happening?</p> <h4 id="summary-steps-reproduce">Steps to reproduce</h4> <div class="codeblock"> <pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br>ddev config </span><span style="color: #007700">--</span><span style="color: #0000BB">project</span><span style="color: #007700">-</span><span style="color: #0000BB">type</span><span style="color: #007700">=</span><span style="color: #0000BB">drupal11 </span><span style="color: #007700">--</span><span style="color: #0000BB">docroot</span><span style="color: #007700">=</span><span style="color: #0000BB">web </span><span style="color: #007700">--</span><span style="color: #0000BB">database</span><span style="color: #007700">=</span><span style="color: #0000BB">mysql</span><span style="color: #007700">:</span><span style="color: #0000BB">8.0 </span><span style="color: #007700">--</span><span style="color: #0000BB">webserver</span><span style="color: #007700">-</span><span style="color: #0000BB">type</span><span style="color: #007700">=</span><span style="color: #0000BB">apache</span><span style="color: #007700">-</span><span style="color: #0000BB">fpm </span><span style="color: #007700">--</span><span style="color: #0000BB">php</span><span style="color: #007700">-</span><span style="color: #0000BB">version</span><span style="color: #007700">=</span><span style="color: #0000BB">8.3<br>?&gt;</span></span></pre></div> <p>My full config.yaml file exists.</p> <div class="codeblock"> <pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br>ddev start<br>ddev composer create</span><span style="color: #007700">-</span><span style="color: #0000BB">project drupal</span><span style="color: #007700">/</span><span style="color: #0000BB">cms<br>?&gt;</span></span></pre></div> <p>My config.yaml file has been replaced. And running <code>ddev config --auto</code> cannot restore it.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <h3 id="summary-ui-changes">User interface changes</h3> <h3 id="summary-data-model-changes">Configuration changes</h3> > Related issue: [Issue #3575779](https://www.drupal.org/node/3575779)
issue