mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-21 12:05:00 +00:00
Merge pull request #6 from resin-io/RES-1335-expose-version-as-env-var
Expose a RESIN_SUPERVISOR_VERSION env var to app
This commit is contained in:
commit
84fca22485
@ -1,3 +1,5 @@
|
||||
* Expose a RESIN_SUPERVISOR_VERSION env var to app [Pablo]
|
||||
|
||||
# v1.1.1
|
||||
|
||||
* Prevent non-fatal errors from causing the supervisor to exit [Lorenzo]
|
||||
|
@ -132,6 +132,7 @@ exports.extendEnvVars = (env, uuid) ->
|
||||
RESIN_SUPERVISOR_HOST: host
|
||||
RESIN_SUPERVISOR_PORT: config.listenPort
|
||||
RESIN_SUPERVISOR_API_KEY: exports.getOrGenerateApiSecret()
|
||||
RESIN_SUPERVISOR_VERSION: exports.supervisorVersion
|
||||
RESIN: '1'
|
||||
USER: 'root'
|
||||
if env?
|
||||
|
Loading…
Reference in New Issue
Block a user