This commit is contained in:
chenggui 2021-04-27 09:34:28 +08:00
parent 3fbdaa9095
commit 703fae235c
1 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ services:
名称 | 描述 | 类型 | 是否必须 | 默认值
------------ | ------------- | ------------- | ------------- | -------------
cmd | 容器中运行的命令 | []string | |
count | 指定并行运行的 task 数量 | int | | 1
restart | 定义作业重启策略,值只能为 Never 或 OnFailure。 | string | | Never
image | 你的服务使用的镜像 | string | |
cmd | 容器中运行的命令 | []string | false |
count | 指定并行运行的 task 数量 | int | true | 1
restart | 定义作业重启策略,值只能为 Never 或 OnFailure。 | string | true | Never
image | 你的服务使用的镜像 | string | true |