feat: Docker container checks
ci / lint (pull_request) Canceled after 2m41s
ci / test (pull_request) Canceled after 2m42s
ci / build (pull_request) Canceled after 1m41s
ci / image (pull_request) Canceled after 12s

A Docker monitor asks the Docker Engine API for a container's state: up
while it runs and its health check, if any, is not unhealthy; exited,
paused or missing containers are reported as such. The API is reached
over the checker host's Unix socket, allowed only on checkers that may
see private networks, or over plain TCP through the network guard. The
README lists all check types and notification services and explains
mounting the socket.

Closes #97

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-22 17:01:06 +01:00
1 parent f14b760069
commit 8a988df724
12 files changed
+1474 -1202

No files matched your search

+4
View File
@@ -655,6 +655,10 @@ func fillForm(f *web.MonitorForm, m store.Monitor) {
var c check.GameConfig
_ = json.Unmarshal(m.Config, &c)
f.Game = web.GameForm{Edition: c.Edition, MinFreeSlots: c.MinFreeSlots}
case check.Docker:
var c check.DockerConfig
_ = json.Unmarshal(m.Config, &c)
f.DockerHost = c.Host
case check.Alertmanager:
var c check.AlertmanagerConfig
_ = json.Unmarshal(m.Config, &c)