It’s not hardcoded, but if STORJ_CONSOLE_ADDRESS is not set, it will be changed to 14002 by default in the entrypoint script.
: ${STORJ_CONSOLE_ADDRESS:=0.0.0.0:14002}
export STORJ_CONSOLE_ADDRESS
You can either used the runtime arguments (as it was suggested) or -e STORJ_CONSOLE_ADDRESS=....
I don’t like this behavior (personally I would prefer more transparent and more simple entrypoint script), but it’s hard to change without compatibility issues…
Sorry for this confusing behavior.