Bug fixes
Both reported by @hypnosis4u2nv in #2 — thanks!
🩺 Headless healthcheck
healthcheck.py used to hard-require BOT_TOKEN and call api.telegram.org/getMe. That meant any container running Web-UI-only or webhook-only (no Telegram) was reported as unhealthy even when everything was working — Docker would just show a red status badge. Fixed: the check now picks the right probe based on what's actually configured:
| Mode | Probe |
|---|---|
Web UI on (WEB_UI=true)
| TCP connect to 127.0.0.1:${WEB_PORT}
|
Telegram (BOT_TOKEN + CHAT_ID)
| getMe against the Telegram API
|
| Webhook-only (Discord / generic, no UI, no Telegram) | exit 0 — Docker's process supervision is the only signal here |
If Web UI and Telegram are both on, the local socket probe wins (deterministic, doesn't depend on api.telegram.org being reachable).
📅 Calendar emoji
The spiral-calendar glyph 🗓️ (Unicode 1F5D3) renders inconsistently — older Telegram on Android sometimes falls back to a ? or OBJ box. Swapped for the basic-calendar 📅 (1F4C5) which has full Unicode 6.0 coverage. Affects /history, update-result Telegram messages, Discord embeds, generic webhook payloads, and the corresponding strings in all 16 language files.
Pull and restart:
docker pull amayer1983/docksentry:latest
docker compose up -d