feat: add support for healthcheck in Compose

This commit is contained in:
Pasha Sviderski committed 2026-02-25 14:54:24 +10:00
1 parent 7bfaf31138
commit 3056e2af11
8 files changed
+220 -88

No files matched your search

+7
View File
@@ -11,6 +11,13 @@ services:
BOOL: "true"
EMPTY: ""
VAR: value
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 1m30s
timeout: 10s
retries: 5
start_period: 15s
start_interval: 2s
image: nginx:latest
init: true
logging: