When a deploy failed, the old containers kept serving while `dokku/<app>:latest` still pointed at the failed image, so `ps:restart`, `ps:start`, and `ps:restore` would redeploy the broken release or fail with `App image not found` once that image was retired. The running image is now kept available during a build and deploy, the `latest` tag is restored to it when the build, release, or deploy fails, and `ps:retire` no longer removes the image an app's `latest` tag points at. Failed containers are also now registered for retirement under the correct app so they and their images are cleaned up.
16 lines
257 B
JSON
16 lines
257 B
JSON
{
|
|
"healthchecks": {
|
|
"web": [
|
|
{
|
|
"attempts": 1,
|
|
"content": "this-content-does-not-exist",
|
|
"name": "failing-check",
|
|
"path": "/",
|
|
"timeout": 2,
|
|
"type": "startup",
|
|
"wait": 1
|
|
}
|
|
]
|
|
}
|
|
}
|