mirror of
https://github.com/unpoller/unpoller.git
synced 2026-09-30 03:21:28 +02:00
The Docker health check was attempting to bind to ports already in use by the running application, causing "address already in use" errors. This fix adds a health check mode that skips network binding operations while still validating output configuration (listen addresses, paths, etc.). Changes: - Add health check mode flag in pkg/poller/outputs.go - Update prometheus and webserver DebugOutput() to skip port binding in health check mode - Maintain full configuration validation without network conflicts Fixes #892 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>