Add Prefect template#918
Open
kh0r wants to merge 2 commits into
Open
Conversation
- 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
Contributor
There was a problem hiding this comment.
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.jsonwith 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 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 |
Author
There was a problem hiding this comment.
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.
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 #917Screenshots or Videos