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
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/417
Author: @Harikrishnan1367709
Created: 10/3/2025
Status: ❌ Closed
Base:
main← Head:Twenty-CRM-template-deployment-fails-during-startup-#416📝 Commits (1)
ed00d3afix(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
curlwhich may not be available in containerSolution
curlwithwgetin health checkTesting
Fix #416
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.