Using variable expansion in POSIX shell to provide configurable and default values

I found it convenient to be able to change the HOST (as well as the PORT) and since an empty $HOST would fail, I thought of providing default values like in shell scripting (since, from what I see, the bundle will exec that line in the shell).

Is this the "proper way" to do this with foreman?