I wanted to deploy this to my docker environment however I don't want our credentials baked in to the image, so I moved the sed lines out from the Dockerfile into an entrypoint script to allow you to set the three configuration variables (IP/Password/Port) at runtime.
I also made it such that the port is optional, and only changes config.inc.php if the environment variable is set.
I wanted to deploy this to my docker environment however I don't want our credentials baked in to the image, so I moved the sed lines out from the Dockerfile into an entrypoint script to allow you to set the three configuration variables (IP/Password/Port) at runtime.
I also made it such that the port is optional, and only changes
config.inc.php
if the environment variable is set.