Difference between revisions of "HEALTHCHECK"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
[[docker-compose.yml]] official example:
 
[[docker-compose.yml]] official example:
 
  healthcheck:
 
  healthcheck:
   test: ["CMD", "curl", "-f", "http://localhost"]
+
   test: ["CMD", "curl", "[[-f]]", "http://localhost"]
 
   interval: 1m30s
 
   interval: 1m30s
 
   timeout: 10s
 
   timeout: 10s

Revision as of 10:30, 22 February 2023

Advertising: