feat(stacks): add ref to stack.env [EE-5145] (#8872)

pull/8956/head
Chaim Lev-Ari 2023-05-17 10:30:56 +07:00 committed by GitHub
parent 83551201fb
commit dc5f866a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -63,7 +63,7 @@
<environment-variables-panel
ng-model="$ctrl.formValues.Env"
explanation="These values will be used as substitutions in the stack file"
explanation="These values will be used as substitutions in the stack file. To reference the .env file in your compose file, use stack.env."
on-change="($ctrl.onChangeEnvVar)"
show-help-message="true"
></environment-variables-panel>

View File

@ -152,7 +152,11 @@
</div>
<!-- environment-variables -->
<environment-variables-panel ng-model="formValues.Env" explanation="These values will be used as substitutions in the stack file" on-change="(handleEnvVarChange)">
<environment-variables-panel
ng-model="formValues.Env"
explanation="These values will be used as substitutions in the stack file. To reference the .env file in your compose file, use stack.env"
on-change="(handleEnvVarChange)"
>
</environment-variables-panel>
<!-- !environment-variables -->
<por-access-control-form form-data="formValues.AccessControlData"></por-access-control-form>

View File

@ -182,7 +182,7 @@
<div ng-if="stack">
<environment-variables-panel
ng-model="formValues.Env"
explanation="These values will be used as substitutions in the stack file"
explanation="These values will be used as substitutions in the stack file. To reference the .env file in your compose file, use stack.env."
on-change="(handleEnvVarChange)"
show-help-message="true"
></environment-variables-panel>