New Environmental Variables Behavior


#1

Looks like the env variable feature has changed with the latest release. Is there new documentation for this? I can only find the older docs:

https://docs.resin.io/learn/manage/serv-vars/

Is there a way to change the serivce names? Right now I have “main” and “service1”.

Thanks


#2

This looks like the latest documentation indeed. It covers multicontainer support.

Does this help?

Quoting the blog post:

Prior to multicontainer support, environment variables were set at the application and device level. Now, environment variables are set per service, with the option to apply the variable for that service on a single device or across the fleet. Even for single container applications, when you add a service variable it will need to be associated with a service name.


#3

Yep, that explains the new behavior. Thanks.