Repository navigation
Releases
SendDock v0.8.3 — Production hardening
SendDock v0.8.3 — Production hardening
Three security fixes, the defects behind a broken cloud login, and the documentation corrections that came out of checking every guide against the code.
Security
- Headers could be injected through the subject. Subscriber-supplied text reaches the subject, and a line break in it added headers of the attacker's choosing — a
Bcc, for example — to the message SendDock sent. Carriage returns and line feeds are now stripped from every value that lands in a header: subject, sender name, recipient and unsubscribe URL. - Certificates are verified on outgoing SMTP, for implicit TLS and STARTTLS. A relay serving a self-signed or expired certificate keeps working per project under Project → SMTP → Allow insecure TLS, and the failure message names that setting.
- A webhook's signing secret can no longer be read back. It came out on every list, fetch and pause, and reading webhooks needs no capability — so a read-only viewer could sign deliveries of its own. It is returned by the creation response only.
- The source-build compose no longer starts on a published Postgres password. It refuses to come up and names the missing variable.
Fixed
- A restart no longer re-sends a broadcast another instance is delivering. Startup recovery reset every job in
sendingregardless of who owned it, so starting or rolling one instance re-queued work in flight and those recipients received the same email twice. A claimed job now carries the worker's id and a lease, and recovery only reclaims expired leases. - Registration is transactional. A failure on the second write used to leave an account nobody could see or sign into, holding an email that could never be registered again — the same shape sat in workspace creation and in adding a member.
- A log row no longer claims the send succeeded before it did, which the stats endpoint counted. Rows start as
pendingand settle tosentonce the relay accepts. - Date rules no longer break a segment.
greater thanandless thancompiled a date field to a numeric cast, so a rule that saved without complaint failed when it ran. A value that cannot be ordered is refused while saving. - Demoting the last workspace owner no longer leaves the workspace ownerless, and the
memberrole — which the API accepted but the database never allowed — is gone. - Email confirmation signs in the right device, on the Pro side: the link approves the pending login instead of starting a session on whichever device opened it.
- Two editor fixes that missed the 0.8.2 image are in this one.
Docs
The API reference and the guides were checked against the handlers, the queries and the schema. Invented status codes, fields, lifetimes and defaults the code does not have were corrected, and three older changelog entries that stated behaviour this release proves false now point at 0.8.3 instead of reading as current.
Verified against the published image
A fresh instance came up on an empty database with every migration applied, then sent a real broadcast with a CRLF injection attempt in the subject: the break was stripped, no header was added, and each recipient received exactly one message marked sent.
SendDock v0.8.2
SendDock v0.8.2 — Audience & white-label
Multiple newsletters per project with per-newsletter unsubscribe, branded unsubscribe pages, and a unified mint/emerald design system.
Newsletters (Core)
A project can now hold several named publications — one subscriber base, per-newsletter memberships. Broadcasts and campaigns can target a newsletter (newsletter_id, mutually exclusive with segment_id), and those emails carry a per-newsletter unsubscribe link (and List-Unsubscribe one-click). Links for a deleted newsletter degrade to project-wide. New subscriber.newsletter_unsubscribed webhook event.
Branded unsubscribe pages (Core)
Templates now have a type (email or page). Assign a page template under Project → Settings → Unsubscribe page to render the public unsubscribe confirmation/done pages in your design, with {{project_name}}, {{email}}, {{newsletter_name}} and {{confirm_button}} placeholders (sanitized).
Unified mint/emerald design system
One shared control language for status pills (AppStatusPill), filter chips (AppFilterChip), selects (AppSelect) and buttons (AppButton variants), plus a single size for page-level actions. Consistent chrome throughout.
Robustness & consistency fixes
Deleted-newsletter unsubscribe on branded pages, newsletter-scoped CSV export and suppressed logs, campaign ownership validation, canvas editing reliability, device-aware email confirmation.
SDK
@senddock/sdk 0.2.0 aligns with this release: newsletter_id on broadcasts and the subscriber.newsletter_unsubscribed webhook event type.
v0.8.1 — Production hardening
Production hardening. Making SendDock honest to run at scale, keep, and observe.
Added
- Safe multi-replica operation. The IMAP bounce poller is now leader-elected with a Postgres session advisory lock, so only one replica polls each mailbox at a time. The scheduled-campaign worker, broadcast queue and webhook delivery were already coordinated (atomic claim /
FOR UPDATE SKIP LOCKED) — the poller was the last unguarded loop. Running more than one instance no longer double-processes bounces. The container entrypoint also retries migrations instead of dying when two replicas racegoose upagainst the same database. - Observability for the send pipeline. Logs are now structured JSON (
slog), and a PrometheusGET /metricsendpoint exposes send attempts/sends/failures, SMTP errors by 4xx/5xx class, broadcast queue depth, webhook delivery outcomes, bounce/complaint ingest and poller tick duration./metricsis unauthenticated by convention — scope it at the network layer. See Monitoring.
Docs
- Backups & Recovery — a dedicated, discoverable page (previously buried inside Updating): scheduled
pg_dump, off-site encryption, a clean-instance restore walkthrough, a rehearsed-restore recipe, and why a pre-update dump is the real rollback path. - Monitoring — the metric catalog, a Prometheus scrape example and the JSON log format.
v0.8.0 — free analytics, deliverability & reports (Pro), rich-text send
Analytics graduates to free Core, self-host configuration moves into the dashboard, and the paid tier is redrawn around deliverability and reporting.
Added
- Analytics, rebuilt and free (Core). The old single-endpoint funnel became a tabbed, charted dashboard — Overview, Campaigns, Audience, Engagement — with a date-range picker, per-campaign breakdowns (every email log is now tagged with its
broadcast_id), a subscriber-growth view and a weekday × hour click heatmap. Async bounces are now recorded on the log, not only the suppression list. - Instance settings in the dashboard (self-host). The public URL, a configurable session inactivity timeout (5–1440 min) and the Pro license key are set from Instance in the dashboard, stored in the database, applied live with no restart.
- Deliverability (Pro). A new Analytics tab: domain health (SPF/DKIM/DMARC), a per-provider breakdown with acceptance/bounce/open/click rates, and a spam-complaint rate ingested from an FBL/complaint webhook (
POST /webhooks/complaints/{projectId}). - Report builder (Pro). A dynamic builder over subscribers and email events — dimensions/measures, 1–2 dimension pivots, segment filters, saved reports and CSV export, backed by an allowlist-only query engine.
- Rich-text send. The Send Email composer gained a Text/Rich toggle per template variable, backed by a WYSIWYG editor; rich values are sanitized server-side. On the API, mark fields via
html_fields. - Delete a workspace from the UI. Owner-only, from the workspace manage screen; refused while the workspace still owns projects.
Changed
- Analytics moved Pro → Core. The descriptive analytics suite is now free and ungated. The paid tier is now Deliverability + Reports + Audit log + Team.
DEPLOYMENT_MODE→CLOUD. The hosted flag is now a booleanCLOUD; the old string is still read until v0.9.
Deprecated
PUBLIC_URLandSENDDOCK_LICENSE_KEYenvironment variables (self-host). Both now live in the dashboard; a value left in the environment is imported once on boot and support for reading it is removed in v0.9.
Full changelog: https://github.com/arkhe-systems/senddock/blob/main/CHANGELOG.md
v0.7.0 — Custom fields, tags & segments; webhooks free
The Marketing-ready milestone — SendDock stops being send-to-everyone and becomes a real targeting tool — plus webhooks graduating to the free Core.
Added
- Custom fields — typed subscriber attributes (
string/number/date/boolean/enum) with per-type inputs, template{{custom.*}}merge tags and CSV mapping. (#72) - Tags + segments — free-form tags and saved filters (match-all/any over status, tags,
custom.*) with a live match count; broadcasts can target asegment_id. (#40) - Segment filter on Pro Analytics — scope every metric to a segment's members.
Changed
- Webhooks are now free (Core) — management UI + REST API moved out of the Pro tier. Paid tier is now Analytics + Audit log + Team.
Security
- Authentication hardening — per-account login/2FA throttling, session revocation on password change, API-key capability scoping, safer default role.
Drop-in upgrade. Two forward-only migrations (custom field definitions; tags column + segments table).
v0.6.8 — template library + Arch installer + UI fixes
Two new features and a chunky bag of UI fixes. Headline is the community starter template library: every SendDock instance — Cloud and self-hosted — now ships a "★ Browse library" modal on the Templates page that pulls templates from a separate community-maintained repo, clones one into your project on click, and opens it in the editor. The library is open to PRs (the only SendDock repo that accepts them by design). Second headline is Arch Linux support in the one-line installer — curl senddock.dev/install.sh | sudo bash now works on Arch and its derivatives (Manjaro, EndeavourOS, CachyOS, Garuda) the same way it works on Ubuntu. Plus a fix for the long-standing "buttons stop responding after login" bug that turned out to be password-manager autofill extensions crashing on Vue Teleport. Drop-in upgrade — no migrations.
Added
- Community template library (#73). New "★ Browse library" button on the Templates page opens a modal with a categorized grid of starter templates (welcome flows, monthly digests, single-story newsletters, product launches, changelogs, weekly link roundups, password resets, email verifications, transactional receipts). Click a template, get a clone in your project, ready to edit. Library content lives in the public
Arkhe-Systems/senddock-templatesrepo — community PRs welcome, MIT-licensed. New backend service caches the manifest in Redis for 1 hour; per-template HTML is fetched on demand. Override the source withTEMPLATE_LIBRARY_URLto point at a private fork or curated internal gallery. - Arch Linux family support in the one-line installer (#81).
scripts/setup.shnow branches on/etc/os-releaseand runs the pacman-based Docker install path on Arch, Manjaro, EndeavourOS, CachyOS, Garuda, or anything withID_LIKE=arch. Ubuntu path unchanged. The die message for unsupported distros now lists both supported families and links to the manual Compose path. Tracked under the broader multi-distro umbrella (#79); Debian, Fedora, RHEL and openSUSE remain TODO. macOS support tracked separately under #82.
Changed
- README hero replaced with the branded title card image. The
# SendDockh1 is gone; the visual wordmark in the hero card serves as the title now. Repo-card / search-results display falls back to the repo name, no SEO regression. New screenshot set (docs/public/screenshots/) added for hero + projects dashboard + template editor + campaigns list + analytics dashboard.
Fixed
- "Buttons stop responding after login" — password-manager autofill overlay crash (#80). Bitwarden / 1Password / LastPass inject overlay nodes adjacent to input fields. When a modal opened via
<Teleport to="body">moved those inputs to a new DOM position, the extension's stored reference became orphaned and the next overlay update threwinsertBefore on Node— corrupting the extension's internal DOM tracking and intercepting subsequent click events on the page until the next full reload. Fixed by dropping<Teleport>fromAppModal(the modal still usesfixed inset-0 z-50so it overlays the viewport the same way) and adding defensive opt-out attributes onAppInputfor all four major password managers. Credential fields on login/register opt back in via explicitautocompletevalues so they still autofill normally. - "Send Email" button felt dead while it actually worked.
openSendModalwas fetching templates async before opening the modal, with no visual feedback on the button. Now the button shows "Loading…" and is disabled during the fetch; an early-return guard prevents stacked clicks from queuing multiple in-flight requests. fetch()calls never timed out, leaving components stuck in loading state forever. A hung backend (SMTP test against an unreachable host, slow tunnel, dead connection) would leave the calling component spinning indefinitely. Added a 30s default timeout viaAbortController+ signal in the API client, overridable per call via thetimeoutMsoption. This is the underlying cause of several "buttons stop working" reports.AppModalcould leavebody.overflow: hiddenafter unmount. If a modal unmounted while still shown (e.g. mid-navigation), the body could be left scroll-locked until the next reload.onUnmountednow resets the style as a safety net.- Truncated template names in the library grid had no way to read the full text. Native
titleattribute on the card header — hover anywhere on the truncated name shows the full template name in the browser's native tooltip.
Upgrade
Drop-in. Watchtower / dashboard "Update now" picks this up automatically. Manual: docker compose pull && docker compose up -d from your install dir.
Full Changelog: v0.6.7...v0.6.8
v0.6.7 — self-hosting UX overhaul + bug fixes
[0.6.7] — 2026-06-18
Self-hosting UX release. Headline is a brand-new one-line installer (curl senddock.dev/install.sh | sudo bash) that brings up Docker, the compose stack, and one-click updates via Watchtower in under two minutes. Plus a real SMTP-troubleshooting section in the docs, a Cloudflare Tunnel guide as a first-class HTTPS option, and fixes for three bugs that bit users during install: a template editor that escaped < while typing, an installer that silently defaulted PUBLIC_URL to localhost, and an abandoned Watchtower image that crash-looped on Docker 26+. Drop-in upgrade — no migrations.
Added
- One-line installer for Ubuntu (
scripts/setup.sh, also served athttps://senddock.dev/install.sh). Installs Docker from the official repo if missing, downloadsdocker-compose.image.yml, generates.envwith random secrets (mode 600), prompts forPUBLIC_URL, bundles Watchtower in HTTP-API-only mode (no auto-polling, label-scoped to SendDock only) so the dashboard's "Update now" button works out of the box, brings up the stack, and runs a 60-second health check that warns if any service isn't running. The script is attached as a release asset on every published release. - Cloudflare Tunnel section in self-hosting docs. First-class reverse-proxy path for users without a public IP, port forwarding, or Let's Encrypt setup. Documents the two non-obvious gotchas that took hours to debug the first time: use
Networking → Tunnels(NOT Zero Trust → Connectors — that's a different feature), and include thehttp://scheme explicitly in the Service URL (without it Cloudflare defaults to HTTPS and the tunnel returns 502 because SendDock listens on plain HTTP internally). - SMTP troubleshooting guide (
/guide/smtp). New "Diagnosing port issues" section with a/dev/tcpprobe loop that tells you exactly which ports your network actually allows. New "Working around ISP blocks" with five real fixes: try port 25 explicitly, use a provider that supports 2525 (Brevo, Mailgun, Postmark, SendGrid), run on a cloud server, run a cloud SMTP relay, or use Mailpit for local dev. New "Self-hosted mail server" section with config snippets for adding a 2525 listener to Postal, Postfix and Mailcow, plus the UFW commands to open the new port server-side.
Changed
docker-compose.image.ymlpassesSENDDOCK_WATCHTOWER_URLandSENDDOCK_WATCHTOWER_TOKENthrough (empty defaults). Manual installs can now wire Watchtower via the override block in the docs without modifying the base compose file. Backwards-compatible for installs that don't set those vars.- Installation docs restructured into four options: (1) one-line installer (recommended for Ubuntu), (2) manual Docker Compose (any Linux), (3) Dokploy (honest about PR #821 to Dokploy templates still being open for review), (4) build from source. Cross-doc references in
updating.md,configuration.mdandenvironment.mdre-numbered to match. - Update modal copy is platform-agnostic when Watchtower isn't configured. Previously the modal told everyone to run
docker compose pull && up -dfrom the host — wrong advice for Dokploy / Coolify / Portainer users who don't manage the stack at that level. New layout shows two equally visible cards: "Rebuild from your hosting panel" (primary, for platform users) and "Direct Docker control" with the docker compose command (secondary, for bare-metal andinstall.shusers), plus a tip linking to the Watchtower setup for one-click updates from the dashboard.
Fixed
- Template editor escaped
<to<while typing in the Code tab. The Visual tab's GrapesJS instance stayed mounted viav-showeven when hidden. Its watcher fired on every CodeMirror keystroke and calledsetComponents()with the in-progress string. For incomplete HTML like a lone<, GrapesJS interpreted it as text content and re-emitted<back into the sharedv-model, feeding the bug character by character. Switched the Visual wrapper tov-ifso GrapesJS is only mounted when the user is actually on that tab. scripts/setup.shsilently defaultedPUBLIC_URLto localhost. Hitting Enter at an empty prompt previously triggered a warning that was easy to miss in the install output and produced an instance with newsletters and unsubscribe links disabled — which the user discovered hours later in the dashboard with no breadcrumb to the cause. Worse, re-running the script on an existing.envskipped the prompt entirely, so there was no way to fix it through the installer. New behaviour: empty prompt loops until non-empty input or Ctrl+C;localhost/127.0.0.1requires explicit confirmation (orSENDDOCK_ALLOW_LOCALHOST=yesfor non-interactive); bare domains auto-prefixhttps://;SENDDOCK_PUBLIC_URLenv var always wins over existing.envso a broken install can be patched by re-running with the correct URL — secrets are preserved.- Watchtower image crashed in a restart loop on Docker 26+.
containrrr/watchtower:latest— the canonical image whensetup.shfirst shipped — has been abandoned since 2023 and bundles a Docker client too old (API 1.25) for modern Docker daemons (which require API 1.40+). Manifested asclient version 1.25 is too old. Minimum supported API version is 1.40in the logs, silent restart loop indocker compose ps, and a non-working "Update now" button. Switched bothsetup.shand the manual recipe inupdating.mdtonickfedor/watchtower:latest, the actively-maintained community fork. Inline comment explains the abandonment so future readers know why. scripts/setup.shno longer reports "Docker already installed" when the daemon is dead. Previous check wascommand -v docker && docker compose version— both pass on hosts where the CLI is present but the daemon isn't running (the state left by an incomplete purge, snap-installed Docker, or some pre-bundled Ubuntu images). New check addsdocker infoand attemptssystemctl enable --now dockerbefore falling back to a clean reinstall.docs/guide/environment.mdno longer tells self-hosters to copy.env.examplefrombackend/. That instruction applies to source builds only; self-hosters now get pointed at the installation guide and the.env.production.examplereference.
Removed
OPEN_REGISTRATIONenv var. It was a design footgun: self-hosted instances should never accept anonymous signups — that's the whole point of self-hosting your own list. Registration goes through the first-boot Setup screen and the admin "Create user" action exclusively. Cloud signup is in the separate cloud package and unaffected.
Cloud
(carryover from the v0.6.6 work that never published as its own release)
- Plan-aware Pro paywall — shows the upgrade flow on cloud, the self-host license copy on self-host. No more confusing copy where cloud users see "enter your license key".
- Hide the self-host "Update available" badge on the cloud build (the badge is meaningless when the platform manages the version).
- Team plan paywall now selects the right checkout link based on the user's current plan.
v0.6.5.1 — 2FA TOTP + multi-tenancy security hardening
Security and authentication patch on top of v0.6.5. Drop-in image bump — the 2FA migration applies automatically on startup.
Added
- Two-factor authentication (TOTP) with recovery codes (#65). Enable 2FA from the Account page: scan the QR with any authenticator app (Google Authenticator, 1Password, Authy, …), confirm a 6-digit code, and save the one-time recovery codes shown once at setup. Login becomes a two-step flow — password first, then the 6-digit code (or a recovery code if you lose the device), exchanged through a short-lived intermediate token. Recovery codes are single-use and bcrypt-hashed at rest, and disabling 2FA requires a valid code. Works the same self-hosted or on cloud.
Security
- Multi-tenancy hardening across project-scoped endpoints. Authorization on the audit-log, webhooks and analytics sections now verifies workspace membership rather than project ownership alone, webhook delivery listings are constrained to the owning project, and the email service gained a defense-in-depth context guard so a project ID can only be acted on inside a request that was authorized for it. No action is required on upgrade.
Image: ghcr.io/arkhe-systems/senddock:0.6.5.1 (also :latest)
v0.6.5 — profile sidebar, Account/Billing, one-click updates, log drawer
Quality-of-life release on top of v0.6.4.1. Adds the persistent profile sidebar, dedicated Account and Billing pages, one-click updates via Watchtower, and a side-drawer for email log inspection. Also fixes a broadcast restart-recovery edge case from 0.6.4 that left in-flight broadcasts mislabeled as interrupted even though sending actually resumed.
One migration. No breaking changes.
Added
- Persistent profile sidebar across every authenticated screen. The dashboard now uses the same flex+sidebar layout as the project view, so the page doesn't look empty when you have one or two projects. The sidebar is sticky to the viewport (no longer scrolls away with the main content) and embeds a profile panel at the bottom with avatar, name, email, plan badge, and links to Account / Billing / Logout.
- Account page (
/account). Read-only profile (name, email, plan, member since) plus a change-password form. Validates current password server-side and applies the same complexity rules as registration (≥8 chars, one uppercase, one digit, one special). - Billing page (
/billing). Shows the current tier (Free / Pro / Team) with a colored badge, plus the licenseexpires_atandlast_checktimestamps when a license is active. Free users see Pro and Team paywall cards with the existing checkout links. - One-click updates from the dashboard via Watchtower. Set
SENDDOCK_WATCHTOWER_URL(and optionalSENDDOCK_WATCHTOWER_TOKEN) and the update modal grows an "Update now" button that POSTs to Watchtower's/v1/update. The dashboard then polls/api/v1/versionevery 2 seconds, tolerates the network errors that happen while the container restarts, and shows a success toast once the new version is live. When Watchtower isn't configured (the default), the modal still shows the manualdocker compose pull && up -dcommand as before. See the new "One-click updates" section in the updating docs for the full compose snippet and security notes. - Email log detail drawer (#44). Click any row in the Logs page and a right-side drawer slides in with the full lifecycle: a vertical timeline (sent → opened → clicked → bounced / failed / suppressed), per-click event list with URL + timestamp + user agent, error or suppression reason, and reference IDs. The list view also gained an Engagement column with compact
O/Cbadges so you can spot opens and clicks without opening each row. pg_trgmgin indexes onemail_logs.to_emailandemail_logs.subject(#44). SubstringILIKE '%x%'searches now use a real index instead of sequential scan, which keeps the Logs search responsive past a few thousand rows.- Custom dark-themed scrollbars across the whole app (subtle gray thumb, transparent track, lighter on hover, both WebKit and Firefox).
Changed
AppModalnow usesTeleporttobody. Any modal triggered from inside a sidebar (or any element with atransform) now correctly overlays the entire viewport instead of getting trapped inside its parent's bounding box. Fixes the update dialog rendering inside the sidebar.GET /api/v1/menow returnsemail,name,planandcreated_atin addition touser_id. Needed by the new profile panel; no breaking change since the response was previously{user_id}.- Analytics, Webhooks and Audit log sections check the user's license tier before fetching. Free users see the paywall immediately instead of waiting for a 402 / 404 round-trip and falling through to a generic "Couldn't load" error.
Fixed
- Broadcasts marked
interruptedon restart even though they actually resumed sending (#41 follow-up). A backend restart in the middle of a broadcast flipped its status to'interrupted'even though the per-recipient jobs were still being drained by the worker pool. The UI then told the user the broadcast had failed and the remaining recipients didn't get the email — which was wrong. The status now stays'sending'until every job has settled, then transitions to'completed'. Pro Analytics "broadcasts in flight" also recovers correctly across restarts now (it filters onstatus='sending'and was losing visibility because of this).
API
GET /api/v1/me— now returnsemail,name,plan,created_atalongsideuser_id.POST /api/v1/me/password— change the authenticated user's password. Body:{current_password, new_password}.GET /api/v1/update/auto-status— returns Watchtower availability:{configured, healthy, url, last_check, last_error}.POST /api/v1/update/trigger— fires the Watchtower/v1/updatecall and returns202. Returns400if Watchtower isn't configured,502if it's unreachable.GET /api/v1/projects/{id}/logs/{logId}— returns{log, clicks}for the email log detail drawer.
Environment
- New optional
SENDDOCK_WATCHTOWER_URLandSENDDOCK_WATCHTOWER_TOKEN— enable the dashboard's one-click update flow. When unset, the update modal falls back to the manual command. Docs.
Migrations
20260528193111_add_email_logs_search_index.sql— enablespg_trgmif missing and adds gin indexes onemail_logs.to_emailandemail_logs.subject. Idempotent, no data changes. Runs automatically on container start.
How to upgrade
docker pull ghcr.io/arkhe-systems/senddock:latest
# or pin: ghcr.io/arkhe-systems/senddock:0.6.5
docker compose up -dOne migration runs automatically on start. Postgres and Redis volumes are preserved.
v0.6.4.1 — restart-loop hotfix
Hotfix on top of v0.6.4. No new features, no DB migrations — drop-in replacement for any 0.6.x deployment showing the "container restarts every ~5 hours" pattern.
Why upgrade
If you're running 0.6.3 or 0.6.4, your container is silently rate-limiting its own healthcheck. About 5 hours after every boot, wget /health from the Dockerfile healthcheck starts getting 429 Too Many Requests, swarm/Compose flags the container unhealthy, and it gets restarted. The new container starts a fresh 5-hour timer, and the loop continues forever.
This hotfix breaks the loop. 0.6.3 and 0.6.4 are now marked deprecated in the changelog.
Fixed
- Rate-limit counter never expired.
Redis.Incrementreset the key's TTL on every call (INCRfollowed unconditionally byEXPIRE). The Dockerfile healthcheck (wget /healthevery 30s) kept therl:::1counter alive forever instead of expiring per-minute, so the counter accumulated cumulatively. After ~5 hours (600 hits ÷ 2/min), it crossed the 600 req/min threshold and/healthstarted returning429. Now uses an atomic Lua script that only sets the TTL when the key is created. /healthwas wrapped by the rate limiter, CORS, and body-size middlewares. Healthchecks must never be subject to client-facing throttles. Now mounted on a separate root mux that bypasses all middleware.
Added
RATE_LIMIT_PER_MINUTEenv var (default600). Lower it on small deployments or raise it for high-traffic apps without rebuilding the image.
How to upgrade
docker pull ghcr.io/arkhe-systems/senddock:latest
# or pin: ghcr.io/arkhe-systems/senddock:0.6.4.1No migration to run. No env vars required. Just redeploy.