I am only aware of the
~/.convox/host file, but are there some other ways to configure the host? Would it be possible to support one of the following?
./.convox/hostin the local directory (similar to
./.convox/app) - I’ve tested this and it doesn’t seem to be supported
--hostflag for the CLI
Sorry if these are already supported, but I couldn’t find anything in the docs.
I use some custom build/deploy scripts, and I have to be careful when deploying to different environments, because
~/.convox/host is a “global” file. My scripts often run multiple convox commands in a sequence. So if a deploy script is running in the “staging” environment, then I can’t do anything in the prod environment until the script has finished. (If I switch the host back to prod, then the script will start running the commands on prod instead of staging.)
It would be great if there was a way to isolate this host option instead of relying on a global file, to ensure that all commands are being run for the correct host.