1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

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

This commit is contained in:
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>