phpMyAdmin service implementation #853
Replies: 2 comments 4 replies
-
|
I don't have an issue with this being a global service; however, I prefer to opt-in to services as needed. In my opinion we should only spin up what is minimally needed for Warden to function (traefik, ssh, mailpit, DNSMasq). Everything else should be opt-in. This keeps Warden "light" on services while offering flexibility to start them automatically via With regards to configuration I think it would be best to keep a |
Beta Was this translation helpful? Give feedback.
-
|
Here are my thoughts as they come to me. So I apologize for how confusing this post might be :) I am constantly on the fence between a lean and mean Warden and a Warden that tries to make things as simple and as easy as possible for everyone. The merge of phpMyAdmin as a default enabled global service was part of the latter camp. I approached it with a "well, someone put work into it. It shouldn't be too difficult to maintain. It will improve some developers lives - why not". On that line of thinking, I would like to retain it as a global service that is by default enabled, but can very easily be turned off. Likewise, the desired state of it would be to not cause problems anywhere else. You also previously mentioned on the ticket that it was causing problems by adding content to stdout where you might expect a specific type of formatting.1 I think that is in fact a problem, and one that seems easily fixable to me. If we believe the output contains value, we should migrate it from stdout to stderr. This is not something I've ever put a lot of thought into before you raised these issues, but there does seem to be consensus behind diagnostics/notices being part of stderr instead of stdout when stdout should contain a program output especially. 2 I like the idea of using environment variables instead of a mounted configuration file, and I think it's worth investing some time into investigating if we can do it well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a discussion of adding the phpMyAdmin application as a service in Warden and how that might best be implemented.
There is a current implementation which was merged into the main branch #801, where I posted some questions and it was suggested to discuss here. This implementation is done as a global service which can configure multiple environments to use a single phpMyAdmin instance? (@monteshot?)
Discussion points regarding the current implementation:
Thank you to @monteshot for the feature.
Beta Was this translation helpful? Give feedback.
All reactions