Repository navigation
feat: add SendDock template - #821
Conversation
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.
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
| @@ -0,0 +1,56 @@ | |||
| services: | |||
There was a problem hiding this comment.
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.
| services: | |
| version: "3.8" | |
| services: |
Context Used: AGENTS.md (source)
| [config.env] | ||
| POSTGRES_PASSWORD = "${postgres_password}" | ||
| JWT_SECRET = "${jwt_secret}" | ||
| PUBLIC_URL = "https://${main_domain}" | ||
| SENDDOCK_LICENSE_KEY = "" |
There was a problem hiding this comment.
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)
|
Hi @Siumauricio — friendly bump on this PR. Two notes:
The PR is mergeable and clean. Would appreciate a review when you have a chance — happy to make any real changes you spot. Thanks! |
# Conflicts: # meta.json
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), anddepends_on: condition: service_healthyordering.blueprints/senddock/template.toml— wires the Dokploy${domain}helper intoPUBLIC_URLso unsubscribe links and broadcasts work out of the box, generates randomPOSTGRES_PASSWORD(32 chars) andJWT_SECRET(64 chars) at install time. EmptySENDDOCK_LICENSE_KEYgives 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.0from 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.jsafter adding the senddock entry. The script also removed one duplicatestrapientry 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.jsonentry. Two convention violations from AGENTS.md need to be fixed before merging:docker-compose.ymlis missing the requiredversion: "3.8"declaration.template.tomluses 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
Context used: