mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-21 20:08:09 +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
|
# v1.1.1
|
||||||
|
|
||||||
* Prevent non-fatal errors from causing the supervisor to exit [Lorenzo]
|
* 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_HOST: host
|
||||||
RESIN_SUPERVISOR_PORT: config.listenPort
|
RESIN_SUPERVISOR_PORT: config.listenPort
|
||||||
RESIN_SUPERVISOR_API_KEY: exports.getOrGenerateApiSecret()
|
RESIN_SUPERVISOR_API_KEY: exports.getOrGenerateApiSecret()
|
||||||
|
RESIN_SUPERVISOR_VERSION: exports.supervisorVersion
|
||||||
RESIN: '1'
|
RESIN: '1'
|
||||||
USER: 'root'
|
USER: 'root'
|
||||||
if env?
|
if env?
|
||||||
|
Loading…
Reference in New Issue
Block a user