How to Update ERPNext URL Host?

I’m running ERPNext via frappe_docker and I want to change the DNS entry from https://mysite.com to https://mysitev1.com. I already have the DNS entry pointed to my remote server, I just need to tell the app to use the new URL. How can I do this?

Try:
bench --site site.name set-config host_name https://erp.example.com

ref: Need to set "host_name" in "site_config.json"? · Issue #756 · frappe/frappe_docker · GitHub