mirror of
https://github.com/coollabsio/coolify.git
synced 2026-06-13 19:09:50 +00:00
fix(service): twenty fails to deploy due to dependency unhealthy
This commit is contained in:
@@ -53,7 +53,7 @@ services:
|
||||
interval: 2s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 10s
|
||||
start_period: 30s
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -102,7 +102,15 @@ services:
|
||||
depends_on:
|
||||
twenty:
|
||||
condition: service_healthy
|
||||
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- "ps aux | grep 'dist/queue-worker/queue-worker' | grep -v grep || exit 1"
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user