Self-heal web-UI service commands when their container is stopped#128
Open
Aquive wants to merge 1 commit into
Open
Self-heal web-UI service commands when their container is stopped#128Aquive wants to merge 1 commit into
Aquive wants to merge 1 commit into
Conversation
phpmyadmin, elasticvue and mailpit dead-ended when their global container was stopped (e.g. after a Docker or machine restart): open errored out and enable printed "already enabled" while doing nothing. Now open/enable start the container on demand when the service is enabled (mailpit is always on), and enable is idempotent. Only the requested UI container is started — no full global start, no databases pulled in — and a clear message is shown when Docker is not running. status now points to the relevant open command. Shared helpers (isContainerRunning, openInBrowser, ensureGlobalServiceRunning, decideServiceUI) de-duplicate the logic.
Aquive
force-pushed
the
fix/service-ui-autostart
branch
from
June 23, 2026 20:48
0904899 to
9a77fda
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The containerised web-UI services (
phpmyadmin,elasticvue,mailpit) dead-ended when their global container was stopped — which happens routinely after a Docker Desktop or machine restart.openerrored out andenableprinted "already enabled" while doing nothing.Changes
phpmyadmin open/elasticvue open: start the container when the service is enabled but stopped, then open the browser. Not enabled → clear "enable with…" message.mailpit open: always starts the container if stopped, then opens (Mailpit is always on).phpmyadmin enable/elasticvue enable: idempotent — restart the container when already enabled but stopped.status: points to the relevantopencommand when stopped.global start, no databases pulled in. Clear message when Docker itself is not running.isContainerRunning,openInBrowser,ensureGlobalServiceRunning,decideServiceUI) de-duplicate the logic across the three commands.Docs (
commands.md) andCHANGELOG.mdupdated.