v1.12.0 — Telegram optional, headless mode
Highlights
Telegram is now optional. Docksentry can run fully headless with just the Web UI, just Discord, just a generic webhook, or any combination. BOT_TOKEN / CHAT_ID are no longer required.
This was requested by @hypnosis4u2nv in #2.
Added
- Headless mode — leave
BOT_TOKEN/CHAT_IDunset and Docksentry runs without Telegram. At least one ofWEB_UI=true,DISCORD_WEBHOOK,WEBHOOK_URLmust be configured (validated at startup). - Web UI: Image Cleanup button — runs
docker image pruneon demand from the Settings page. Was previously only reachable via Telegram/cleanup. - Web UI: Self-Update button — triggers a self-update from the Settings page. Was previously only reachable via Telegram
/selfupdate. - Settings page: Telegram status row — shows whether Telegram is
enabledordisabled (headless)at a glance.
Changed
- Pin / auto-update state extracted into a new
container_store.pymodule. The Web UI now reads/writes these lists directly, so they keep working in headless mode. - Startup output now reports
Telegram: ON / OFFclearly.
Migration
- Existing setups with
BOT_TOKEN+CHAT_IDcontinue to work unchanged. - To go headless: remove
BOT_TOKENandCHAT_IDfrom your environment, keepWEB_UI=true(and/orDISCORD_WEBHOOK/WEBHOOK_URL).
Quickstart — headless
docker run -d \
--name docksentry \
--restart unless-stopped \
-e WEB_UI=true \
-p 8080:8080 \
-v /var/run/docker.sock:/var/run/docker.sock \
amayer1983/docksentry:latestUpgrade
docker pull amayer1983/docksentry:latest
docker compose up -d