diff options
author | Jack Lucas <jflucas@research.att.com> | 2020-02-11 11:50:07 -0500 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2020-02-11 17:27:31 -0500 |
commit | 40ee89ac1d1a8c116d96146a8f6ba862bc81db26 (patch) | |
tree | 623df235ce1a59c6e8553131667d666f617b357f /healthcheck-container/healthcheck.js | |
parent | b54fed73e027dbf1f04f22e738de70a301d59c57 (diff) |
Change health check to run as non-root user1.3.0
Requires change to listening port for health check server
(from 80 to 8080).
Also update nodejs version.
Issue-ID: DCAEGEN2-2071
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Change-Id: I5e85cc2184cfab845a70905edabad4699f0ef411
Diffstat (limited to 'healthcheck-container/healthcheck.js')
-rw-r--r-- | healthcheck-container/healthcheck.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/healthcheck-container/healthcheck.js b/healthcheck-container/healthcheck.js index 1156ff5..4089f0c 100644 --- a/healthcheck-container/healthcheck.js +++ b/healthcheck-container/healthcheck.js @@ -1,5 +1,5 @@ /* -Copyright(c) 2018-2019 AT&T Intellectual Property. All rights reserved. +Copyright(c) 2018-2020 AT&T Intellectual Property. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -91,4 +91,4 @@ const server = http.createServer(function(req, res) { res.end(JSON.stringify(ret.body || {}), 'utf8'); }); }); -server.listen(80); +server.listen(8080); |