mirror of
https://github.com/containers/podman-compose.git
synced 2025-06-20 19:57:56 +02:00
Merge 980417d77e07c00342c876e416e4493f095d6531 into 342a39dcfe6944932561bf12150deeb687fb6c52
This commit is contained in:
commit
50033cee9a
@ -1235,6 +1235,10 @@ async def container_to_args(compose, cnt, detached=True, no_deps=False):
|
||||
if "start_period" in healthcheck:
|
||||
podman_args.extend(["--healthcheck-start-period", healthcheck["start_period"]])
|
||||
|
||||
# check if any action must be taken on healtcheck failure
|
||||
if "on_failure" in healthcheck:
|
||||
podman_args.extend(["--health-on-failure", healthcheck["on_failure"]])
|
||||
|
||||
# convert other parameters to string
|
||||
if "retries" in healthcheck:
|
||||
podman_args.extend(["--healthcheck-retries", str(healthcheck["retries"])])
|
||||
|
Loading…
x
Reference in New Issue
Block a user