fix: update to postiz templates for v2 with temporal#658
fix: update to postiz templates for v2 with temporal#658rubixvi wants to merge 6 commits intoDokploy:canaryfrom
Conversation
- Remove deprecated version field for compose file format compliance - Add Temporal workflow engine with PostgreSQL and Elasticsearch - Configure comprehensive social media platform integrations (Discord, LinkedIn, X, TikTok, YouTube, etc.) - Add Cloudflare R2 storage provider configuration options - Include email service configuration for notifications - Implement Redis persistence and health checks - Add proper service networking and dependencies
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
|
@Siumauricio , just so you're aware, I know there's an inclusion of networks, but this is required for the two postgres database to function without conflict. |
There was a problem hiding this comment.
Pull request overview
This pull request updates the Postiz template to version 2 with Temporal workflow engine integration. The changes add comprehensive social media platform integrations, email and cloud storage configurations, and separate database infrastructure for Temporal.
Changes:
- Remove deprecated
versionfield from docker-compose.yml for v3.8 compliance - Add Temporal workflow engine with dedicated PostgreSQL database and Elasticsearch
- Configure environment variables for 15+ social media platforms (Discord, LinkedIn, X, TikTok, YouTube, etc.)
- Add Cloudflare R2 storage and email service configuration options
- Implement Redis persistence with health checks and explicit networking configuration
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 13 comments.
| File | Description |
|---|---|
| blueprints/postiz/docker-compose.yml | Adds Temporal services (workflow engine, PostgreSQL, Elasticsearch) with dedicated networking; configures Redis persistence; adds environment variables for social integrations |
| blueprints/postiz/template.toml | Defines environment variables for email, Cloudflare R2 storage, and social media platform API credentials |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Hi, just wanted to check when this will be done. The current template does not work anymore. |
Why do we need this? |
|
@greptile review |
| @@ -1,22 +1,70 @@ | |||
| version: "3.8" | |||
|
|
|||
| services: | |||
There was a problem hiding this comment.
missing version: "3.8" field - the style guide (AGENTS.md:149) requires Version: MUST be 3.8
| services: | |
| version: "3.8" | |
| services: |
Context Used: Context from dashboard - AGENTS.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
| networks: | ||
| dokploy-network: | ||
| external: true | ||
| temporal-network: | ||
| driver: bridge | ||
| name: temporal-network |
There was a problem hiding this comment.
defining networks violates the style guide (AGENTS.md:150) which states: "NEVER include: ports (use expose only), container_name, networks (Dokploy handles isolation)"
while some existing templates use dokploy-network for cross-service communication, the separate temporal-network may cause issues with Dokploy's network isolation model
Context Used: Context from dashboard - AGENTS.md (source)
| MAIN_URL: "http://${POSTIZ_HOST}" | ||
| FRONTEND_URL: "http://${POSTIZ_HOST}" | ||
| NEXT_PUBLIC_BACKEND_URL: "http://${POSTIZ_HOST}/api" |
There was a problem hiding this comment.
changed URL scheme from https:// to http:// - verify this works correctly with Dokploy's reverse proxy and SSL termination
Cause the two postgres will end up conflicting with each other. Postiz has one and Temporal has another. And temporal is very demanding compared, logically you can merge the postgres but it'll just degrade performance. |
Temporal and Postiz must be seperated in terms of the databse for it function with the dual database setup.
Greptile Summary
Updated Postiz template to v2 with Temporal workflow engine integration. Added comprehensive social media platform integrations and configuration options for Cloudflare R2 storage and email services.
Key changes:
Issues found:
version: "3.8"field (violates AGENTS.md style guide)dokploy-networkandtemporal-network) which may conflict with Dokploy's network isolation model per style guideConfidence Score: 2/5
blueprints/postiz/docker-compose.yml- must add version field and reconsider network definitionsLast reviewed commit: 21ca847
Context used:
dashboard- AGENTS.md (source)