* skip logging when healthcheck url is called; closes#74 (#75)
Signed-off-by: Casey Kuhlman <casey@monax.io>
* Configure listen port via environment variable (#77)
* skip logging when healthcheck url is called; closes#74
Signed-off-by: Casey Kuhlman <casey@monax.io>
* skip logging when healthcheck url is called; closes#74
Signed-off-by: Casey Kuhlman <casey@monax.io>
* adds the ability to establish the listen port via env var
Signed-off-by: Casey Kuhlman <casey@monax.io>
* minor refactoring of @compleatang work
* fixing typo
As noted in the Dockerfile, the previous route to install pm2 was broken at
some point. As a result, pm2 related files are now being copied over from an
image created prior to the breakage.
This change now installs pm2 via npm, which is the recommended route for this.
A small adjustment had to be made in the processManager code; an
argument was being passed with a space in it. For reasons that I've not been
able to fully trace, this no longer works. It should be noted that passing
arguments in this way can result in undesirable behaviour - in this case I
believe "--interpreter none" was being passed as a single argument, rather than
"--interpreter", "none". I've adjusted this to use an equals - splitting into 2
separate strings works well too.