Passing variables to stack file #11
-
@smashedr Cheers for the impressive work.
for a stack file with image of the format
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I believe that Portainer will substitute stack file variables, with environment variables. So something like this should work: with:
env_json: '{"TAG": "tag-name"}' With the provided stack file should work as expected. I actually believe that the Portainer |
Beta Was this translation helpful? Give feedback.
I believe that Portainer will substitute stack file variables, with environment variables.
So something like this should work:
With the provided stack file should work as expected.
I actually believe that the Portainer
environment
is only used to replace variables in the stack file. If this does not work, let me know and I will do a test on my side.