Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ServerConfig.address should be configurable via environment variable and system property #1032
In addition to the environment variables
For example, hosting a DYI cartridge at Openshift requires the application to bind to a specific (dynamic) IP address ($OPENSHIFT_DIY_IP). Providing a general solution to configure the inet address externally, it will be possible to deploy an unmodified fat-jar to multiple cartridges.
To stay consistent with the
Thanks for your quick response, Luke. Enabling the env var config source does the job for now. For the sake of documentation it is done this way:
So my starter script ("start action_hook") at Openshift looks like this now:
I will write a blog post on deploying a ratpack application to a DIY cartridge on Openshift. Before that, I will provide a pull request for this issue.