Is there a way to disable an addon without impacting the config committed to git? #7347
-
|
Hi ! I am in a situation where I want to use ddev with the following stack:
However, my coworker already have a custom phpmyadmin setup with theme and plugins they customized. Is there a way for him to disable the phpmyadmin add-on just like we can disable the
So, is there a way to override the list of services from a file a user can configure and Thx! :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Yes, we have an option for that. The services:
phpmyadmin:
profiles:
- phpmyadminThen edit the Commit these two files to git, and with this setup, Remember to add ddev_version_constraint: ddev_version_constraint: '>= v1.24.4'to your |
Beta Was this translation helpful? Give feedback.
Hi @Tristan-MyAnaPro,
Yes, we have an option for that.
The
phpmyadminservice can be defined as optional by adding this file.ddev/docker-compose.phpmyadmin_extra.yaml:Then edit the
.ddev/commands/host/phpmyadminfile by removing the#ddev-generatedline and adding this at the script start:Commit these two files to git, and with this setup,
phpmyadminwill only be started on demand by using:Remember to add ddev_version_constraint:
to your
.ddev/config.yaml…