Skip to content

Override health check port with $PORT in check.sh#100

Merged
vfarcic merged 1 commit intodocker-flow:masterfrom
caitlinelfring:healthcheck_port
Aug 9, 2019
Merged

Override health check port with $PORT in check.sh#100
vfarcic merged 1 commit intodocker-flow:masterfrom
caitlinelfring:healthcheck_port

Conversation

@caitlinelfring
Copy link
Copy Markdown
Contributor

The proxy server allows you to configure the port that it runs on with the environment variable PORT. If you do that, the health check will fail because 8080 is hard-coded and docker-flow-proxy will continually reload itself. This will use the port from PORT and fallback to 8080 if it's not found

The proxy server allows you to configure the port that it runs on with the environment variable `PORT`. If you do that, the health check will fail because 8080 is hard-coded and docker-flow-proxy will continually reload itself. This will use the port from `PORT` and fallback to 8080 if it's not found
@thomasjpfan
Copy link
Copy Markdown
Contributor

This looks like the correct fix. Although, it seems like the CI is not running here anymore. 😅

@vfarcic vfarcic merged commit b480b05 into docker-flow:master Aug 9, 2019
@vfarcic
Copy link
Copy Markdown
Contributor

vfarcic commented Aug 9, 2019

Sorry for the delay. The images of the new release are now available.

@caitlinelfring caitlinelfring deleted the healthcheck_port branch July 7, 2020 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants