Skip to content

feat: add Fider feedback collection platform template#728

Open
ImBIOS wants to merge 4 commits intoDokploy:canaryfrom
ImBIOS:add-fider-template
Open

feat: add Fider feedback collection platform template#728
ImBIOS wants to merge 4 commits intoDokploy:canaryfrom
ImBIOS:add-fider-template

Conversation

@ImBIOS
Copy link

@ImBIOS ImBIOS commented Feb 28, 2026

Summary

  • Add Fider, an open-source feedback collection platform, to the Dokploy templates
  • Includes PostgreSQL 17 database service
  • Configurable SMTP email settings for notifications
  • JWT_SECRET and other required environment variables

Issue Reference

Closes #727

Test Plan

  • Validate meta.json with dedupe-and-sort-meta.js
  • Test the template by importing the Base64 config in Dokploy
  • Verify the service starts correctly
  • Verify domain is accessible

Add Fider, an open-source feedback collection platform, to the blueprints.
Includes PostgreSQL 17 database and configurable SMTP email settings.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 28, 2026 05:10
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 28, 2026
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@github-actions
Copy link

github-actions bot commented Feb 28, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@dosubot
Copy link

dosubot bot commented Feb 28, 2026

Related Documentation

Checked 7 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Copy link
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

Adds a new Dokploy blueprint for deploying Fider (open-source feedback collection platform) with a PostgreSQL database, and updates meta.json to include the new template (plus a strapi entry move consistent with dedupe/sort).

Changes:

  • Add blueprints/fider/ with Docker Compose + Dokploy template.toml configuration and logo.
  • Register the Fider template in meta.json.
  • Reposition the existing strapi entry (consistent with sorted/deduped meta.json output).

Reviewed changes

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

File Description
meta.json Adds fider metadata entry; also reflects a sorted/deduped move of strapi.
blueprints/fider/docker-compose.yml Introduces Fider + PostgreSQL services for the new template.
blueprints/fider/template.toml Defines domain + env var wiring (DB password, JWT secret, SMTP settings).
blueprints/fider/fider.png Adds the template logo asset referenced by meta.json.

version: "3.8"
services:
db:
image: postgres:17
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

postgres:17 is a floating tag (will change as new 17.x releases ship). Repo template guidelines recommend pinning Docker images to a specific version (ideally patch, or a digest) to avoid unexpected breaking changes during deploys.

Suggested change
image: postgres:17
image: postgres:17.2

Copilot uses AI. Check for mistakes.
- POSTGRES_DB=fider

app:
image: getfider/fider:stable
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

getfider/fider:stable is a floating tag; this makes the template non-reproducible and can break over time. Please pin to a specific released image tag (or digest) and keep meta.json.version aligned with that pinned version.

Suggested change
image: getfider/fider:stable
image: getfider/fider:0.22.0

Copilot uses AI. Check for mistakes.
host = "${main_domain}"

[config.env]
BASE_URL = "https://${main_domain}"
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

Template guidelines prefer URL env vars to default to HTTP unless the application explicitly requires HTTPS. Using https://${main_domain} here may be incorrect for setups where TLS is terminated by the Dokploy proxy; consider switching to http://${main_domain} unless Fider requires HTTPS in BASE_URL.

Suggested change
BASE_URL = "https://${main_domain}"
BASE_URL = "http://${main_domain}"

Copilot uses AI. Check for mistakes.
{
"id": "fider",
"name": "Fider",
"version": "stable",
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

meta.json.version is set to stable, which doesn’t uniquely identify a reproducible release. If you pin the Docker image tag for Fider, update this field to the corresponding concrete version to keep templates deterministic.

Suggested change
"version": "stable",
"version": "0.22.0",

Copilot uses AI. Check for mistakes.
- Pin postgres to 17.2
- Pin fider to v0.32.0
- Use http:// for BASE_URL (TLS handled by Dokploy)
- Update meta.json version to 0.32.0

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy link
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

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

@@ -0,0 +1,27 @@
[variables]
main_domain = "${domain}"
postgres_password = "${password:16}"
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

postgres_password is generated with the ${password:...} helper, which can include reserved URL characters (e.g., @, #). Since this value is embedded in DATABASE_URL in docker-compose, the resulting connection string can be syntactically invalid. Consider switching the DB password generator to a URL-safe helper (e.g., a hex hash) or otherwise ensure the password is percent-encoded before being placed into the URL.

Suggested change
postgres_password = "${password:16}"
postgres_password = "${uuid}"

Copilot uses AI. Check for mistakes.
app:
image: getfider/fider:v0.32.0
restart: unless-stopped
ports:
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

This compose file publishes the container port using ports. Repo guidance recommends not publishing ports in templates (use expose or rely on Dokploy domain mapping) to avoid host port conflicts and unintended direct exposure. Consider removing ports here or replacing it with expose: - 3000.

Suggested change
ports:
expose:

Copilot uses AI. Check for mistakes.
host = "${main_domain}"

[config.env]
BASE_URL = "http://${main_domain}"
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

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

BASE_URL is hardcoded to use the http:// scheme, which will cause the application to generate links (and potentially cookies) over plain HTTP, exposing credentials and JWT-based sessions to interception or tampering on the network. An attacker observing traffic when users follow these links could steal login data or hijack sessions. This should use https:// for public deployments (or at least default to HTTPS and only allow HTTP explicitly for non-production use).

Copilot uses AI. Check for mistakes.
Reverting changes that were inconsistent with other templates:
- postgres:17.2 → postgres:17 (codebase uses floating tags)
- fider:v0.32.0 → fider:stable (codebase uses :stable tags)
- meta.json version: "0.32.0" → "stable" (codebase pattern)

Kept BASE_URL=http:// as it matches Fider official docs.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-template size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add Fider feedback collection platform template

2 participants