Skip to content

feat: add Soft Serve template#889

Open
BinkyTwin wants to merge 2 commits into
Dokploy:canaryfrom
BinkyTwin:codex/add-soft-serve-template
Open

feat: add Soft Serve template#889
BinkyTwin wants to merge 2 commits into
Dokploy:canaryfrom
BinkyTwin:codex/add-soft-serve-template

Conversation

@BinkyTwin
Copy link
Copy Markdown

Summary

  • add a Soft Serve template backed by the official charmcli/soft-serve:v0.11.6 image
  • configure Dokploy domain routing to the HTTP listener, persistent repository/config storage, and public URL env vars
  • add README mount, SVG logo, and metadata entry

/claim #152
Closes #206

Validation

  • node dedupe-and-sort-meta.js
  • node --import ./build-scripts/node_modules/tsx/dist/loader.mjs build-scripts/validate-template.ts --dir blueprints/soft-serve
  • node --import ./build-scripts/node_modules/tsx/dist/loader.mjs build-scripts/validate-docker-compose.ts --file blueprints/soft-serve/docker-compose.yml
  • SOFT_SERVE_NAME="Soft Serve" SOFT_SERVE_INITIAL_ADMIN_KEYS="" SOFT_SERVE_HTTP_PUBLIC_URL=http://soft.example.com SOFT_SERVE_SSH_PUBLIC_URL=ssh://soft.example.com:23231 SOFT_SERVE_LOG_LEVEL=info docker compose -f blueprints/soft-serve/docker-compose.yml config
  • git diff --check
  • Docker Hub API confirmed charmcli/soft-serve:v0.11.6 is available for amd64, arm, and arm64

Note: initial_admin_keys intentionally defaults to an empty string so users can paste their own SSH public key before first deployment.

Copilot AI review requested due to automatic review settings May 20, 2026 20:26
@BinkyTwin BinkyTwin mentioned this pull request May 20, 2026
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. new-template labels May 20, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 20, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

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

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new Dokploy blueprint for deploying Charm’s Soft Serve using the pinned charmcli/soft-serve:v0.11.6 image, including domain routing, persistent storage, and metadata so it appears in the templates index.

Changes:

  • Added blueprints/soft-serve/ with docker-compose.yml, template.toml (variables/env/domain + README mount), and an SVG logo.
  • Registered the new template in meta.json with tags, links, version, and logo reference.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
meta.json Adds the soft-serve template entry (metadata, links, tags, logo, version).
blueprints/soft-serve/template.toml Defines Dokploy variables, domain routing to the HTTP listener, env var wiring, and an embedded README mount.
blueprints/soft-serve/docker-compose.yml Adds the Soft Serve service using the official pinned image, exposed internal ports, env, and persistent volume.
blueprints/soft-serve/soft-serve.svg Adds the template logo asset referenced by meta.json.

Comment on lines +16 to +21
SOFT_SERVE_SSH_LISTEN_ADDR: :23231
SOFT_SERVE_SSH_PUBLIC_URL: ${SOFT_SERVE_SSH_PUBLIC_URL}
SOFT_SERVE_HTTP_LISTEN_ADDR: :23232
SOFT_SERVE_HTTP_PUBLIC_URL: ${SOFT_SERVE_HTTP_PUBLIC_URL}
SOFT_SERVE_GIT_LISTEN_ADDR: :9418
SOFT_SERVE_STATS_LISTEN_ADDR: :23233
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed in feb3bec: the four Soft Serve listen address values are now quoted (":23231", ":23232", ":9418", ":23233"). Re-ran metadata processing, template validation, Docker Compose validation, docker compose config, and git diff --check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim new-template size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Soft Serve

2 participants