mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 21:58:44 -05:00
[PR #800] [CLOSED] fix(postiz): Resolve Temporal crash loop by isolating Workflow database #15144
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/800
Author: @chahat1709
Created: 4/17/2026
Status: ❌ Closed
Base:
canary← Head:fix-postiz-temporal📝 Commits (5)
080cd86fix(postiz): Resolve Temporal crash loop by isolating Workflow databasea39a5f2fix(postiz): Address AI review feedback, update healthcheck and configs3abfbe5fix(postiz): use temporalio/server image, add dynamic config volume, fix healthcheck9430a34fix(postiz): remove missing dynamic config reference from temporal service64e2d72Merge remote-tracking branch 'origin/canary' into fix-postiz-temporal📊 Changes
1 file changed (+58 additions, -4 deletions)
View changed files
📝
blueprints/postiz/docker-compose.yml(+58 -4)📄 Description
Resolves an issue where the Temporal auto-setup script fails to start due to schema contention with the main Postiz backend. This adds a dedicated Temporal Postgres service and the Temporal Web UI for workflow monitoring.
Greptile Summary
This PR correctly isolates Temporal's schema into its own dedicated PostgreSQL instance (
postiz-temporal-postgres) to fix the schema contention crash loop, and adds the Temporal Web UI for monitoring. However, the healthcheck onpostiz-temporalusestctl, which is only available in thetemporalio/admin-toolsimage — not intemporalio/auto-setup. The container will never report healthy, andpostiz-app(which depends oncondition: service_healthy) will never start.tctlis absent fromtemporalio/auto-setup:1.27.2; replace the healthcheck with a TCP probe (nc -z localhost 7233) so the dependency chain can resolve.temporalio/auto-setupis officially deprecated on Docker Hub; a follow-up migration totemporalio/server+temporalio/admin-toolsis recommended.Confidence Score: 4/5
Not safe to merge as-is — the broken healthcheck prevents postiz-app from ever starting.
The architectural fix (dedicated Temporal Postgres) is correct, but the P1 healthcheck bug using a non-existent binary (tctl) in the auto-setup container will block postiz-app from starting entirely. One targeted fix to the healthcheck command is needed before this is mergeable.
blueprints/postiz/docker-compose.yml — specifically the healthcheck.test on the postiz-temporal service (line 46).
Reviews (1): Last reviewed commit: "fix(postiz): Resolve Temporal crash loop..." | Re-trigger Greptile
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.