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:
- phpmyadmin Then 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
phpmyadmin
service can be defined as optional by adding this file.ddev/docker-compose.phpmyadmin_extra.yaml
:Then edit the
.ddev/commands/host/phpmyadmin
file by removing the#ddev-generated
line and adding this at the script start:Commit these two files to git, and with this setup,
phpmyadmin
will only be started on demand by using:Remember to add ddev_version_constraint:
to your
.ddev/config.yaml
…