mirror of https://github.com/docker/docs.git
Fix code-highlighting for cluster file reference
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0266be38d7
commit
2028e1a4a4
|
|
@ -19,27 +19,31 @@ Using Docker Cluster is a three-step process:
|
||||||
|
|
||||||
A `cluster.yml` file resembles the following example:
|
A `cluster.yml` file resembles the following example:
|
||||||
|
|
||||||
variable:
|
{% raw %}
|
||||||
region: us-east-2
|
```yaml
|
||||||
ucp_password:
|
variable:
|
||||||
type: prompt
|
region: us-east-2
|
||||||
|
ucp_password:
|
||||||
|
type: prompt
|
||||||
|
|
||||||
provider:
|
provider:
|
||||||
aws:
|
aws:
|
||||||
region: ${region}
|
region: ${region}
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
engine:
|
engine:
|
||||||
version: "ee-stable-18.09.5"
|
version: "ee-stable-18.09.5"
|
||||||
ucp:
|
ucp:
|
||||||
version: "docker/ucp:3.1.6"
|
version: "docker/ucp:3.1.6"
|
||||||
username: "admin"
|
username: "admin"
|
||||||
password: ${ucp_password}
|
password: ${ucp_password}
|
||||||
|
|
||||||
resource:
|
resource:
|
||||||
aws_instance:
|
aws_instance:
|
||||||
managers:
|
managers:
|
||||||
quantity: 1
|
quantity: 1
|
||||||
|
```
|
||||||
|
{% endraw %}
|
||||||
|
|
||||||
For more information about Cluster files, refer to the
|
For more information about Cluster files, refer to the
|
||||||
[Cluster file reference](cluster-file/index.md).
|
[Cluster file reference](cluster-file/index.md).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue