Skip to content

Add Prefect template#918

Open
kh0r wants to merge 2 commits into
Dokploy:canaryfrom
ckkp-solutions:canary
Open

Add Prefect template#918
kh0r wants to merge 2 commits into
Dokploy:canaryfrom
ckkp-solutions:canary

Conversation

@kh0r

@kh0r kh0r commented Jun 5, 2026

Copy link
Copy Markdown

What is this PR about?

Adds a new Prefect template for Dokploy based on the official Prefect self-hosted Docker Compose deployment.

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

Close automatically the related issues using the keywords: closes #917

Screenshots or Videos

- add Prefect blueprint with docker-compose.yml
- add template.toml with domain and environment configuration
- add Prefect metadata to meta.json
- add Prefect logo asset
Copilot AI review requested due to automatic review settings June 5, 2026 15:56
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. new-template labels Jun 5, 2026

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

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new Prefect blueprint and registers it in the app catalog metadata so it can be deployed with Postgres + Redis backing services.

Changes:

  • Register “Prefect” in meta.json with links/tags and version label.
  • Add a Prefect blueprint (docker-compose.yml) with Postgres, Redis, server, services, and a worker.
  • Add blueprint configuration (template.toml) to wire domain and generated Postgres password.

Reviewed changes

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

File Description
meta.json Adds a new catalog entry for Prefect (id/name/version/links/tags).
blueprints/prefect/template.toml Defines required variables and domain routing to the Prefect server service.
blueprints/prefect/docker-compose.yml Provides the full service stack for Prefect (Postgres/Redis/server/services/worker).

Comment thread blueprints/prefect/docker-compose.yml Outdated
Comment on lines +70 to +78
prefect-worker:
image: prefecthq/prefect:3-latest
restart: on-failure
depends_on:
prefect-server:
condition: service_healthy
environment:
PREFECT_API_URL: http://prefect-server:4200/api
command: prefect worker start --pool local-pool

@kh0r kh0r Jun 8, 2026

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.

I believe this is intentional. This command matches Prefect’s official self-hosted Docker Compose guide, which uses prefect worker start --pool local-pool directly. The docs also state that the worker automatically registers a pool named local-pool. I tested this template on my Dokploy instance and it worked out of the box.

@github-actions

github-actions Bot commented Jun 5, 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 6100ba8

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

Labels

new-template size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants