The docs mention use of the PORT environment to override the port used by express. However I'm not sure if this is working.
This came about because I noticed a github call back URL was prefixed with the default port of 3000 and failed for a project. I changed it in the browsers URL bar to 8888 and it worked.
I assumed it was because the environment variable wasn't explicitly set in the Dockerfile. But when I did, it broke my docker config.
The docs mention use of the PORT environment to override the port used by express. However I'm not sure if this is working.
This came about because I noticed a github call back URL was prefixed with the default port of 3000 and failed for a project. I changed it in the browsers URL bar to 8888 and it worked.
I assumed it was because the environment variable wasn't explicitly set in the Dockerfile. But when I did, it broke my docker config.
My repo with the port overrides is here: https://github.com/LaughingBubba/strider-docker-service.git
Make sure you swtich to the "port" branch. The master branch is working but was the version that had the callback URL issue.