mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-06-11 12:01:40 +00:00
Expose a RESIN_SUPERVISOR_VERSION env var to app
This commit is contained in:
parent
91b6c1b808
commit
ee273f1ec7
@ -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…
x
Reference in New Issue
Block a user