mirror of https://github.com/docker/docs.git
Updated the toc, fixed table format
This commit is contained in:
parent
e537dabb46
commit
4fdca79b17
|
@ -3148,6 +3148,8 @@ manuals:
|
|||
title: Working with Docker Template
|
||||
- path: /app-template/cli-reference/
|
||||
title: CLI reference
|
||||
- path: /app-template/api-reference/
|
||||
title: API reference
|
||||
- sectiontitle: Docker Compose
|
||||
section:
|
||||
- path: /compose/overview/
|
||||
|
|
|
@ -77,7 +77,7 @@ The parameters section allows to specify the input parameters that are going to
|
|||
| :----------------------|:----------------------|:----------------------------------------|
|
||||
|name |yes| The identifier for this parameter. Must be unique within the service parameters. |
|
||||
|description| no|A short description of the parameter. Will be used as label in the Application Designer|
|
||||
|type| yes|The type of the parameter. Possible options are:<ul><li>`string` - The default type, with no validation or specific features.</li><li>`enum` - Allow the user to choose a value included in a specific list of options. Must specify the values parameter.</li><li>`hostPort` - Specify that this parameter is a port that is going to be exposed. Use port format regexp validation, and avoid duplicate ports within an application.</li></ul>|
|
||||
|type| yes|The type of the parameter. Possible options are: <br> `string` - The default type, with no validation or specific features.<br> `enum` - Allow the user to choose a value included in a specific list of options. Must specify the values parameter.<br> `hostPort` - Specify that this parameter is a port that is going to be exposed. Use port format regexp validation, and avoid duplicate ports within an application.|
|
||||
|defaultValue| yes|The default value for this parameter. For enum type, must be a valid value from the values list.|
|
||||
|values| no|For enum type, specify a list of value with a value/description tuple.|
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ A _service template_ is a container image that generates code and contains the m
|
|||
|
||||
- The metadata file that describes the service template is called the service definition. It contains the name of the service, description, and available parameters such as ports, volumes, etc. For a complete list of parameters that are allowed, see [Docker Template API reference](/ee/app-template/api-reference).
|
||||
|
||||
An _application template_ is a collection of one or more service templates.
|
||||
An _application template_ is a collection of one or more service templates. An application template generates a Dockerfile per service and only one Compose file for the entire application, aggregating all services.
|
||||
|
||||
## Create a custom service template
|
||||
|
||||
|
|
Loading…
Reference in New Issue