Conversation
…te notice - A shared version package: release builds inject the version there, the startup log carries it, and `docktail --version` prints it. - `docktail health` reads a status file the running process rewrites every 10 s and becomes the image's HEALTHCHECK: unhealthy when DockTail is hung, the reconcile loop stalls, Docker stays unreachable, or the tailscaled socket is gone. Per-service reconcile errors and the DockTail Cloud link are reported without failing the check. Nothing listens on a port. - A daily update check (UPDATE_CHECK=false to disable) logs a newer stable release once. - The cloud module records its link state for the health status and warns when the host clock is more than 60 s off the cloud's.
This was referenced Sep 23, 2026
marvinvr
added this pull request to stack #99
September 24, 2026 04:12
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.
Makes DockTail easier to operate and support.
Version
versionpackage; release builds inject the version there via-ldflags(the cloud module reads the same value).Starting DockTail version=….docktail --versionprints it (docker exec docktail /app/docktail --version).Health check that tracks DockTail
HEALTH_FILE, default/tmp/docktail-health.json) every 10 s and after every reconcile.docktail healthreads it, prints a one-line verdict, and exits 0 or 1. It is now the image'sHEALTHCHECK, replacingtailscale serve status. Nothing listens on a port.healthy, with errors.connecting,connected,disconnected,rejected,failed) is reported but never fails the check. A restart triggered by the check (Swarm, autoheal) would drain every service and fix nothing on the cloud side.Update notice
UPDATE_CHECK=falsedisables this, and dev builds skip it.Cloud module
hello_ack.server_timeand warns (at most hourly) when the host clock is more than 60 s off.Also adds unit tests for semver and the health verdict, e2e assertions for
docktail healthand--version, and docs indocs/07-reference.md(Version And Updates, Health Check, the new env vars) anddocs/06-cloud.md. ENTRYPOINT and packaging are unchanged.Refs marvinvr/docktail-cloud#81