Support specifying the host as an environment variable