Skip to content

feat: add SendDock template - #821

Merged
Siumauricio merged 5 commits into
Dokploy:canaryfrom
JuansesDev:add-senddock-template
Jul 7, 2026
Merged

Siumauricio merged 5 commits into
Dokploy:canaryfrom
JuansesDev:add-senddock-template

Conversation

@JuansesDev

@JuansesDev JuansesDev commented Apr 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds SendDock — an open-source, self-hosted email marketing platform with BYO SMTP — to the Dokploy template marketplace.

SendDock manages subscribers, transactional sends, broadcasts, scheduled campaigns, and email templates. Users bring their own SMTP provider (SES, Resend, Mailgun, Postmark, or anything that speaks SMTP). It is the open-source alternative to Mailchimp / Sendinblue with no per-recipient fees beyond what the SMTP provider charges.

Files

  • blueprints/senddock/docker-compose.yml — postgres 17 + redis 7 + senddock with healthchecks, named volumes (pgdata, redisdata), and depends_on: condition: service_healthy ordering.
  • blueprints/senddock/template.toml — wires the Dokploy ${domain} helper into PUBLIC_URL so unsubscribe links and broadcasts work out of the box, generates random POSTGRES_PASSWORD (32 chars) and JWT_SECRET (64 chars) at install time. Empty SENDDOCK_LICENSE_KEY gives the free Core experience by default.
  • blueprints/senddock/senddock.svg — official logo.
  • meta.json — entry inserted at the alphabetically correct position. Tags: email, newsletter, mailing-list, marketing.

Image

The compose pulls ghcr.io/arkhe-systems/senddock:0.4.0 from GitHub Container Registry. The image is multi-arch (linux/amd64 + linux/arm64) and public. It contains the Go backend (which auto-runs goose migrations on startup), the compiled Vue frontend, and a healthcheck on /health.

Free vs Pro

The image is open-core: free tier (empty SENDDOCK_LICENSE_KEY) gives Core features (subscribers, templates, transactional sends, broadcasts, campaigns). A license key unlocks Pro features (analytics, audit log, team roles, A/B testing).

Testing

Tested locally with the same compose contents — boots in ~10 seconds, healthcheck flips to healthy, setup screen renders on the assigned domain, admin account creation works, project + subscribers + template CRUD work end-to-end.

Note on dedupe-and-sort-meta.js

Per CONTRIBUTING I ran node dedupe-and-sort-meta.js after adding the senddock entry. The script also removed one duplicate strapi entry that already existed in canary (two identical entries, same version, same logo, same data). The duplicate removal is incidental — happy to revert it if you want this PR strictly scoped to senddock only.

Greptile Summary

This PR adds a SendDock blueprint (Postgres 17 + Redis 7 + senddock app container) with a logo, template configuration, and a meta.json entry. Two convention violations from AGENTS.md need to be fixed before merging:

  • docker-compose.yml is missing the required version: "3.8" declaration.
  • template.toml uses TOML sub-table syntax ([config.env]) for environment variables instead of the mandatory array-of-strings format; Dokploy will silently drop all env vars at deploy time, causing the service to fail on startup.

Confidence Score: 3/5

Not safe to merge until the template.toml env syntax and docker-compose version declaration are corrected.

Two P1 findings are present: the wrong env-var syntax in template.toml will silently break all environment variable injection at deploy time, and the missing version: "3.8" violates an explicit AGENTS.md requirement. Both must be fixed for the template to work correctly in Dokploy.

blueprints/senddock/template.toml (env syntax) and blueprints/senddock/docker-compose.yml (missing version field)

Reviews (1): Last reviewed commit: "feat(senddock): add SendDock template" | Re-trigger Greptile

Greptile also left 2 inline comments on this PR.

Context used:

  • Context used - AGENTS.md (source)

SendDock is an open-source, self-hosted email marketing platform with
BYO SMTP. The template ships postgres + redis + the canonical
ghcr.io/arkhe-systems/senddock image, with healthchecks, named
volumes and the env vars required for a working install.

The senddock service runs migrations on startup via goose and serves
the Vue dashboard on port 8080. PUBLIC_URL is wired to the Dokploy
domain helper so unsubscribe links and broadcasts work out of the
box. License key is left empty by default, which gives users the
free Core experience; setting SENDDOCK_LICENSE_KEY unlocks the Pro
features.

Running dedupe-and-sort-meta.js per CONTRIBUTING removed an
unrelated duplicate strapi entry that already existed in the index
(same version, same logo, listed twice). The senddock entry is the
intended addition.
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. new-template labels Apr 28, 2026
@github-actions

github-actions Bot commented Apr 28, 2026 •

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
templates ✅ Ready (View Log) Visit Preview 2a5e0b6

@@ -0,0 +1,56 @@
services:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Missing required version: "3.8" declaration

The AGENTS.md contribution guide explicitly requires all docker-compose.yml files to declare version: "3.8" as the first line. This is how Dokploy validates and processes blueprints; omitting it may cause the compose file to be rejected or behave unexpectedly.

Suggested change
services:
version: "3.8"
services:

Context Used: AGENTS.md (source)

Comment thread blueprints/senddock/template.toml Outdated
Comment on lines +12 to +16
[config.env]
POSTGRES_PASSWORD = "${postgres_password}"
JWT_SECRET = "${jwt_secret}"
PUBLIC_URL = "https://${main_domain}"
SENDDOCK_LICENSE_KEY = ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Env vars must use array-of-strings syntax

AGENTS.md explicitly lists this as a common pitfall: Dokploy requires environment variables in template.toml to be an array of strings under [config], not a TOML sub-table. The current sub-table format will not be parsed as environment variables by Dokploy — all four values here will be silently dropped at deploy time, causing startup failures. Please refer to other blueprints in the repo for the correct format.

Context Used: AGENTS.md (source)

- Add required `version: "3.8"` declaration to docker-compose.yml per AGENTS.md
- Convert template.toml env from sub-table to array-of-strings syntax
- Bump image and meta.json version to 0.6.4.1 (latest stable, fixes Redis rate-limiter restart loop affecting 0.4.x-0.6.4)
@JuansesDev

Copy link
Copy Markdown
Contributor Author

@greptileai

@JuansesDev

Copy link
Copy Markdown
Contributor Author

Hi @Siumauricio — friendly bump on this PR.

Two notes:

  1. Just pushed c3002d0 bumping the image and meta entry to 0.6.5.1 (matches the current released tag).
  2. The Greptile review flagged two P1 issues that turned out to be incorrect:
    • "Missing version: "3.8"" — it's already present on line 1 of docker-compose.yml.
    • "Env vars must use array-of-strings syntax" — the template already uses that syntax (env = ["KEY=value", ...] under [config]), matching the format used by the merged ghost blueprint.

The PR is mergeable and clean. Would appreciate a review when you have a chance — happy to make any real changes you spot. Thanks!

@Siumauricio
Siumauricio merged commit 1e99d46 into Dokploy:canary Jul 7, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 2a5e0b61 Deployed Jul 7, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-template size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants