update wording, docker-compose to docker compose (#7233)

pull/7266/head
Matt Hook 2022-07-14 10:40:34 +12:00 committed by GitHub
parent 0da4e3ae63
commit 3d4d2b50ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@ export default class EdgeStackDeploymentTypeSelectorController {
/* @ngInject */ /* @ngInject */
constructor() { constructor() {
this.deploymentOptions = [ this.deploymentOptions = [
{ id: 'deployment_compose', icon: 'fab fa-docker', label: 'Compose', description: 'docker-compose format', value: 0 }, { id: 'deployment_compose', icon: 'fab fa-docker', label: 'Compose', description: 'Docker compose format', value: 0 },
{ {
id: 'deployment_kube', id: 'deployment_kube',
icon: 'fa fa-cubes', icon: 'fa fa-cubes',

View File

@ -36,7 +36,7 @@
value="$ctrl.model.StackFileContent" value="$ctrl.model.StackFileContent"
yml="true" yml="true"
identifier="compose-editor" identifier="compose-editor"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
on-change="($ctrl.onChangeComposeConfig)" on-change="($ctrl.onChangeComposeConfig)"
> >
<editor-description> <editor-description>

View File

@ -8,7 +8,7 @@
on-change="($ctrl.onChangeFileContent)" on-change="($ctrl.onChangeFileContent)"
ng-required="true" ng-required="true"
yml="true" yml="true"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
> >
<editor-description> <editor-description>
You can get more information about Compose file format in the You can get more information about Compose file format in the
@ -55,7 +55,7 @@
value="$ctrl.formValues.StackFileContent" value="$ctrl.formValues.StackFileContent"
on-change="($ctrl.onChangeFileContent)" on-change="($ctrl.onChangeFileContent)"
yml="true" yml="true"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
ng-required="true" ng-required="true"
> >
</web-editor-form> </web-editor-form>

View File

@ -28,7 +28,7 @@ class KubernetesDeployController {
this.deployOptions = [ this.deployOptions = [
buildOption('method_kubernetes', 'fa fa-cubes', 'Kubernetes', 'Kubernetes manifest format', KubernetesDeployManifestTypes.KUBERNETES), buildOption('method_kubernetes', 'fa fa-cubes', 'Kubernetes', 'Kubernetes manifest format', KubernetesDeployManifestTypes.KUBERNETES),
buildOption('method_compose', 'fab fa-docker', 'Compose', 'docker-compose format', KubernetesDeployManifestTypes.COMPOSE), buildOption('method_compose', 'fab fa-docker', 'Compose', 'Docker compose format', KubernetesDeployManifestTypes.COMPOSE),
]; ];
this.methodOptions = [ this.methodOptions = [

View File

@ -66,7 +66,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
<code-editor <code-editor
identifier="custom-template-creation-editor" identifier="custom-template-creation-editor"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
yml="true" yml="true"
value="$ctrl.formValues.FileContent" value="$ctrl.formValues.FileContent"
on-change="($ctrl.editorUpdate)" on-change="($ctrl.editorUpdate)"

View File

@ -42,7 +42,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
<code-editor <code-editor
identifier="custom-template-creation-editor" identifier="custom-template-creation-editor"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
yml="true" yml="true"
value="$ctrl.formValues.fileContent" value="$ctrl.formValues.fileContent"
on-change="($ctrl.editorUpdate)" on-change="($ctrl.editorUpdate)"

View File

@ -20,7 +20,7 @@
<div class="col-sm-12"> <div class="col-sm-12">
<code-editor <code-editor
identifier="custom-template-creation-editor" identifier="custom-template-creation-editor"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
yml="true" yml="true"
value="$ctrl.formValues.FileContent" value="$ctrl.formValues.FileContent"
on-change="($ctrl.editorUpdate)" on-change="($ctrl.editorUpdate)"

View File

@ -38,13 +38,13 @@
</span> </span>
<div class="col-sm-12 text-muted small" ng-if="state.StackType === 2 && composeSyntaxMaxVersion == 2"> <div class="col-sm-12 text-muted small" ng-if="state.StackType === 2 && composeSyntaxMaxVersion == 2">
<div style="margin-bottom: 7px"> <div style="margin-bottom: 7px">
This stack will be deployed using the equivalent of <code>docker-compose</code>. Only Compose file format version <b>2</b> is supported at the moment. This stack will be deployed using the equivalent of <code>docker compose</code>. Only Compose file format version <b>2</b> is supported at the moment.
</div> </div>
<i class="fa fa-exclamation-circle orange-icon" aria-hidden="true" style="margin-right: 2px"></i> <i class="fa fa-exclamation-circle orange-icon" aria-hidden="true" style="margin-right: 2px"></i>
Note: Due to a limitation of libcompose, the name of the stack will be standardized to remove all special characters and uppercase letters. Note: Due to a limitation of libcompose, the name of the stack will be standardized to remove all special characters and uppercase letters.
</div> </div>
<span class="col-sm-12 text-muted small" ng-if="state.StackType === 2 && composeSyntaxMaxVersion > 2"> <span class="col-sm-12 text-muted small" ng-if="state.StackType === 2 && composeSyntaxMaxVersion > 2">
This stack will be deployed using <code>docker-compose</code>. This stack will be deployed using <code>docker compose</code>.
</span> </span>
</div> </div>
<!-- build-method --> <!-- build-method -->
@ -151,7 +151,7 @@
on-change="(onChangeFileContent)" on-change="(onChangeFileContent)"
ng-required="true" ng-required="true"
yml="true" yml="true"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
> >
<editor-description> <editor-description>
<span class="col-sm-12 text-muted small"> <span class="col-sm-12 text-muted small">

View File

@ -133,10 +133,10 @@
<form class="form-horizontal" ng-if="state.showEditorTab" style="margin-top: 10px" name="stackUpdateForm"> <form class="form-horizontal" ng-if="state.showEditorTab" style="margin-top: 10px" name="stackUpdateForm">
<div class="form-group"> <div class="form-group">
<span class="col-sm-12 text-muted small" style="margin-bottom: 7px" ng-if="stackType == 2 && composeSyntaxMaxVersion == 2"> <span class="col-sm-12 text-muted small" style="margin-bottom: 7px" ng-if="stackType == 2 && composeSyntaxMaxVersion == 2">
This stack will be deployed using the equivalent of <code>docker-compose</code>. Only Compose file format version <b>2</b> is supported at the moment. This stack will be deployed using the equivalent of <code>docker compose</code>. Only Compose file format version <b>2</b> is supported at the moment.
</span> </span>
<span class="col-sm-12 text-muted small" style="margin-bottom: 7px" ng-if="stackType == 2 && composeSyntaxMaxVersion > 2"> <span class="col-sm-12 text-muted small" style="margin-bottom: 7px" ng-if="stackType == 2 && composeSyntaxMaxVersion > 2">
This stack will be deployed using <code>docker-compose</code>. This stack will be deployed using <code>docker compose</code>.
</span> </span>
<span class="col-sm-12 text-muted small"> <span class="col-sm-12 text-muted small">
You can get more information about Compose file format in the <a href="https://docs.docker.com/compose/compose-file/" target="_blank">official documentation</a>. You can get more information about Compose file format in the <a href="https://docs.docker.com/compose/compose-file/" target="_blank">official documentation</a>.
@ -147,7 +147,7 @@
<code-editor <code-editor
read-only="orphaned" read-only="orphaned"
identifier="stack-editor" identifier="stack-editor"
placeholder="# Define or paste the content of your docker-compose file here" placeholder="# Define or paste the content of your docker compose file here"
yml="true" yml="true"
on-change="(editorUpdate)" on-change="(editorUpdate)"
value="stackFileContent" value="stackFileContent"