This schema could be determined by environment variable as part of a blue / green deployment process. Tern includes SSH tunnel support. Simply supply the SSH host, and optionally port, user, and ...