You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SERVICE_CONFIG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -375,14 +375,15 @@ The `[depends_on]` section defines dependencies between services.
375
375
376
376
```toml
377
377
[depends_on]
378
-
postgres = "service-started"
378
+
postgres = "service-healthy"
379
379
redis = "service-started"
380
380
migration = "service-completed"
381
381
```
382
382
383
383
**Valid conditions:**
384
384
-`service-started` or `started` - Wait for service to start
385
385
-`service-completed` or `completed` - Wait for service to complete
386
+
-`service-healthy` or `healthy` - Wait for service to reach a healthy state. If the service has no health check defined, it is considered healthy as soon as it is started.
0 commit comments