[PR #643] [CLOSED] Update Plausible template to v3.1.0 with enhanced ClickHouse configuration #17013

Closed
opened 2026-07-16 05:59:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/643
Author: @Eetezadi
Created: 1/6/2026
Status: Closed

Base: canaryHead: plausible-update


📝 Commits (4)

  • 8da6830 Update Plausible template to v3.1.0 with enhanced ClickHouse configuration
  • d3caf6b fix: env file & port
  • 8439269 attemt: file locations
  • 0a7d75a fix: address PR review feedback for Plausible template

📊 Changes

3 files changed (+38 additions, -14 deletions)

View changed files

📝 blueprints/plausible/docker-compose.yml (+8 -5)
📝 blueprints/plausible/template.toml (+29 -8)
📝 meta.json (+1 -1)

📄 Description

Summary

  • Updated Plausible Analytics template from v2.1 to v3.1.0
  • Added proper ClickHouse configuration with required environment variables
  • Fixed environment variable structure and port mappings

Changes

  • Updated Plausible image to v3.1.0-community
  • Added ClickHouse service with proper configuration
  • Set required ClickHouse environment variables (DB name, user, password)
  • Updated meta.json version to v3.1.0

Greptile Summary

Updated Plausible Analytics from v2.1.5 to v3.1.0-community with enhanced ClickHouse configuration. The template modernizes ClickHouse config files and updates PostgreSQL to v18.

Critical Issues:

  • Missing required version: "3.8" field in docker-compose.yml (violates Dokploy conventions)
  • Using ports instead of expose in docker-compose.yml (violates Dokploy conventions per AGENTS.md:150)
  • Missing critical environment variables (DATABASE_URL and CLICKHOUSE_DATABASE_URL) in template.toml that Plausible v3.1.0 requires to connect to databases

Positive Changes:

  • Properly updated ClickHouse configuration files with new structure (logs.xml, ipv4-only.xml, low-resources.xml)
  • Fixed volume mount paths from ../files/clickhouse/ to ./clickhouse/ for Dokploy compatibility
  • Added CLICKHOUSE_SKIP_USER_SETUP=1 for proper initialization
  • Updated meta.json version correctly to v3.1.0

Confidence Score: 2/5

  • This PR has critical issues that will prevent Plausible from working correctly
  • Score reflects three critical issues: missing required docker-compose version field, incorrect use of ports instead of expose (violating Dokploy conventions), and most critically, missing DATABASE_URL and CLICKHOUSE_DATABASE_URL environment variables that Plausible v3.1.0 requires to connect to its databases. Without these connection URLs, the application cannot function.
  • Pay close attention to docker-compose.yml (needs version field and expose fix) and template.toml (needs database connection environment variables)

Last reviewed commit: 8439269

(4/5) You can add custom instructions or style guidelines for the agent here!

Context used:

  • Context from dashboard - AGENTS.md (source)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/643 **Author:** [@Eetezadi](https://github.com/Eetezadi) **Created:** 1/6/2026 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `plausible-update` --- ### 📝 Commits (4) - [`8da6830`](https://github.com/Dokploy/templates/commit/8da6830dee3756d61a51452c7a7d20a403ef1c8c) Update Plausible template to v3.1.0 with enhanced ClickHouse configuration - [`d3caf6b`](https://github.com/Dokploy/templates/commit/d3caf6bea8e2e99c8017f09c13312fd6f1f60679) fix: env file & port - [`8439269`](https://github.com/Dokploy/templates/commit/8439269e6571004ceb36c3cb41d6374220d16e61) attemt: file locations - [`0a7d75a`](https://github.com/Dokploy/templates/commit/0a7d75ac92ed230c5cd2fb5d52a3b73e4036a5d6) fix: address PR review feedback for Plausible template ### 📊 Changes **3 files changed** (+38 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/plausible/docker-compose.yml` (+8 -5) 📝 `blueprints/plausible/template.toml` (+29 -8) 📝 `meta.json` (+1 -1) </details> ### 📄 Description ## Summary - Updated Plausible Analytics template from v2.1 to v3.1.0 - Added proper ClickHouse configuration with required environment variables - Fixed environment variable structure and port mappings ## Changes - Updated Plausible image to v3.1.0-community - Added ClickHouse service with proper configuration - Set required ClickHouse environment variables (DB name, user, password) - Updated meta.json version to v3.1.0 <!-- greptile_comment --> <h3>Greptile Summary</h3> Updated Plausible Analytics from v2.1.5 to v3.1.0-community with enhanced ClickHouse configuration. The template modernizes ClickHouse config files and updates PostgreSQL to v18. **Critical Issues:** - Missing required `version: "3.8"` field in `docker-compose.yml` (violates Dokploy conventions) - Using `ports` instead of `expose` in `docker-compose.yml` (violates Dokploy conventions per AGENTS.md:150) - Missing critical environment variables (`DATABASE_URL` and `CLICKHOUSE_DATABASE_URL`) in `template.toml` that Plausible v3.1.0 requires to connect to databases **Positive Changes:** - Properly updated ClickHouse configuration files with new structure (`logs.xml`, `ipv4-only.xml`, `low-resources.xml`) - Fixed volume mount paths from `../files/clickhouse/` to `./clickhouse/` for Dokploy compatibility - Added `CLICKHOUSE_SKIP_USER_SETUP=1` for proper initialization - Updated meta.json version correctly to v3.1.0 <h3>Confidence Score: 2/5</h3> - This PR has critical issues that will prevent Plausible from working correctly - Score reflects three critical issues: missing required docker-compose version field, incorrect use of `ports` instead of `expose` (violating Dokploy conventions), and most critically, missing DATABASE_URL and CLICKHOUSE_DATABASE_URL environment variables that Plausible v3.1.0 requires to connect to its databases. Without these connection URLs, the application cannot function. - Pay close attention to `docker-compose.yml` (needs version field and expose fix) and `template.toml` (needs database connection environment variables) <sub>Last reviewed commit: 8439269</sub> <!-- greptile_other_comments_section --> <sub>(4/5) You can add custom instructions or style guidelines for the agent [here](https://app.greptile.com/review/github)!</sub> **Context used:** - Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=09330bde-2058-497c-9c64-ceae637fb5b2)) <!-- /greptile_comment --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-16 05:59:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#17013