Skip to content

feat: add TimescaleDB template#892

Open
BinkyTwin wants to merge 1 commit into
Dokploy:canaryfrom
BinkyTwin:codex/add-timescaledb-template
Open

feat: add TimescaleDB template#892
BinkyTwin wants to merge 1 commit into
Dokploy:canaryfrom
BinkyTwin:codex/add-timescaledb-template

Conversation

@BinkyTwin

Copy link
Copy Markdown

Summary

  • add a TimescaleDB blueprint using the pinned timescale/timescaledb:2.26.4-pg17 image
  • configure generated PostgreSQL credentials, persistent storage, healthcheck, and telemetry off by default
  • mount an init SQL script that enables the timescaledb extension on first database initialization
  • register the template metadata and SVG logo

/claim #152
Closes #788

Validation

  • node dedupe-and-sort-meta.js
  • node --import ./build-scripts/node_modules/tsx/dist/loader.mjs build-scripts/validate-template.ts --dir blueprints/timescaledb
  • node --import ./build-scripts/node_modules/tsx/dist/loader.mjs build-scripts/validate-docker-compose.ts --file blueprints/timescaledb/docker-compose.yml
  • POSTGRES_USER=timescale POSTGRES_PASSWORD=secret POSTGRES_DB=timescaledb TIMESCALEDB_TELEMETRY=off docker compose -f blueprints/timescaledb/docker-compose.yml config
  • git diff --check

Notes

  • Docker Hub API confirmed 2.26.4-pg17 is active and includes linux/amd64 and linux/arm64 images.
  • docker manifest inspect could not run locally because Docker Hub returned an unauthenticated pull-rate-limit error.

Copilot AI review requested due to automatic review settings May 20, 2026 20:50
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label May 20, 2026
@dosubot dosubot Bot added the new-template label May 20, 2026
@github-actions

github-actions Bot commented May 20, 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 253ed23

Copilot AI left a comment

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.

Pull request overview

Adds a new Dokploy blueprint for deploying TimescaleDB (PostgreSQL + Timescale extension) using a pinned Docker image and registers it in the central template index.

Changes:

  • Added timescaledb blueprint with Docker Compose service, persistent volume, healthcheck, and init SQL to enable the timescaledb extension.
  • Added Dokploy template.toml with generated PostgreSQL credentials, telemetry disabled by default, and bundled README content.
  • Registered the template in meta.json and added an SVG logo.

Reviewed changes

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

File Description
meta.json Registers the new timescaledb template metadata (id, version, links, tags, logo).
blueprints/timescaledb/docker-compose.yml Defines the TimescaleDB service using timescale/timescaledb:2.26.4-pg17, persistence, init script mount, and healthcheck.
blueprints/timescaledb/template.toml Defines generated credentials/env, disables telemetry by default, and provides mounted init SQL + README content.
blueprints/timescaledb/timescaledb.svg Adds the template logo asset referenced by meta.json.

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.

TimescaleDB template

2 participants