mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 16:35:23 +00:00
Allow configuration of heartbeat endpoint via env var.
This commit is contained in:
parent
8ce9c2448f
commit
77f5c776f5
@ -9,8 +9,8 @@ module.exports = config =
|
||||
localImage: process.env.SUPERVISOR_IMAGE ? 'resin/rpi-supervisor'
|
||||
configMountPoint: process.env.CONFIG_MOUNT_POINT ? '/mnt/mmcblk0p1/config.json'
|
||||
ledFile: process.env.LED_FILE ? '/sys/class/leds/led0/brightness'
|
||||
heartbeatEndpoint: process.env.HEARTBEAT_ENDPOINT ? 'http://image.resin.io/ping'
|
||||
successMessage: 'SUPERVISOR OK'
|
||||
heartbeatEndpoint: 'http://image.resin.io/ping'
|
||||
|
||||
config.remoteImage = config.registryEndpoint + '/' + config.localImage
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user