[PR #417] [CLOSED] Fix Twenty CRM template deployment failures #444

Closed
opened 2025-11-22 20:38:46 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/417
Author: @Harikrishnan1367709
Created: 10/3/2025
Status: Closed

Base: mainHead: Twenty-CRM-template-deployment-fails-during-startup-#416


📝 Commits (1)

  • ed00d3a fix(twenty): resolve deployment health check and dependency issues - Fix health check using wget instead of curl for better compatibility - Add missing Redis dependency to server service - Remove unnecessary environment variables - Improve service dependency conditions - Increase health check retries and start period

📊 Changes

1 file changed (+15 additions, -7 deletions)

View changed files

📝 blueprints/twenty/docker-compose.yml (+15 -7)

📄 Description

Problem

Twenty CRM template was failing during deployment with "dependency failed to start: container is unhealthy" errors.

Root Causes

  • Health check using curl which may not be available in container
  • Missing Redis dependency for server service
  • Insufficient health check retries and timeouts
  • Unnecessary environment variables causing conflicts

Solution

  • Replace curl with wget in health check
  • Add Redis dependency to server service
  • Increase health check retries (20) and start period (60s)
  • Remove conflicting environment variables
  • Fix service dependency conditions

Testing

  • Template deploys successfully
  • All services become healthy
  • Application accessible at configured domain
Screenshot 2025-10-03 at 1 20 31 PM Screenshot 2025-10-03 at 1 20 39 PM

Fix #416


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/417 **Author:** [@Harikrishnan1367709](https://github.com/Harikrishnan1367709) **Created:** 10/3/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `Twenty-CRM-template-deployment-fails-during-startup-#416` --- ### 📝 Commits (1) - [`ed00d3a`](https://github.com/Dokploy/templates/commit/ed00d3a601d9b68b1579b5be2abf81c8c7c4d266) fix(twenty): resolve deployment health check and dependency issues - Fix health check using wget instead of curl for better compatibility - Add missing Redis dependency to server service - Remove unnecessary environment variables - Improve service dependency conditions - Increase health check retries and start period ### 📊 Changes **1 file changed** (+15 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/twenty/docker-compose.yml` (+15 -7) </details> ### 📄 Description ## Problem Twenty CRM template was failing during deployment with "dependency failed to start: container is unhealthy" errors. ## Root Causes - Health check using `curl` which may not be available in container - Missing Redis dependency for server service - Insufficient health check retries and timeouts - Unnecessary environment variables causing conflicts ## Solution - ✅ Replace `curl` with `wget` in health check - ✅ Add Redis dependency to server service - ✅ Increase health check retries (20) and start period (60s) - ✅ Remove conflicting environment variables - ✅ Fix service dependency conditions ## Testing - [x] Template deploys successfully - [x] All services become healthy - [x] Application accessible at configured domain <img width="1013" height="812" alt="Screenshot 2025-10-03 at 1 20 31 PM" src="https://github.com/user-attachments/assets/c0e50bb4-f3e2-4aa2-8b6a-17038624ec99" /> <img width="1710" height="1107" alt="Screenshot 2025-10-03 at 1 20 39 PM" src="https://github.com/user-attachments/assets/e2eed14a-1099-46ce-a4c8-9ccce419bff4" /> Fix #416 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-22 20:38:46 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#444