Use environment variables when connecting to hub.

Enable docker orchestration tools to set the variables and control where
the hub is running.

Closes #12