mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-01 00:45:23 +00:00
When listenPort is not specified, use 48484 as default
Should only be relevant in really old OS versions, but still this is the correct default. Fixes #439 Change-Type: patch Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit is contained in:
parent
f1b6165650
commit
21a9bb4e82
@ -7,7 +7,7 @@ apiEndpoint = checkString(process.env.API_ENDPOINT)
|
|||||||
module.exports =
|
module.exports =
|
||||||
apiEndpoint: apiEndpoint
|
apiEndpoint: apiEndpoint
|
||||||
apiTimeout: checkInt(process.env.API_TIMEOUT, positive: true) ? 15 * 60 * 1000
|
apiTimeout: checkInt(process.env.API_TIMEOUT, positive: true) ? 15 * 60 * 1000
|
||||||
listenPort: checkInt(process.env.LISTEN_PORT, positive: true) ? 80
|
listenPort: checkInt(process.env.LISTEN_PORT, positive: true) ? 48484
|
||||||
gosuperAddress: "http://unix:#{process.env.GOSUPER_SOCKET}:"
|
gosuperAddress: "http://unix:#{process.env.GOSUPER_SOCKET}:"
|
||||||
deltaHost: checkString(process.env.DELTA_ENDPOINT) ? 'https://delta.resin.io'
|
deltaHost: checkString(process.env.DELTA_ENDPOINT) ? 'https://delta.resin.io'
|
||||||
registryEndpoint: checkString(process.env.REGISTRY_ENDPOINT) ? 'registry.resin.io'
|
registryEndpoint: checkString(process.env.REGISTRY_ENDPOINT) ? 'registry.resin.io'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user