feat(11):配置服务重启时,容器自动启动
This commit is contained in:
Vendored
+1
-1
@@ -56,7 +56,7 @@ pipeline {
|
|||||||
--health-cmd="curl -f http://localhost:80 || exit 1" \\
|
--health-cmd="curl -f http://localhost:80 || exit 1" \\
|
||||||
--health-interval=5s \\
|
--health-interval=5s \\
|
||||||
--health-retries=3 \\
|
--health-retries=3 \\
|
||||||
--restart=always
|
--restart=always \\
|
||||||
$IMAGE_NAME
|
$IMAGE_NAME
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user