Best practice for multiple environments

A current FileMaker project has several companion websites that deliver pages to the public and private pages to web viewers.

For dev, staging and production, I would like to have an environment file to manage corresponding domains and other variables.

I am toying with the idea of having a unique .json file in the FMS Documents folder in each environment.

Any advice/articles on this topic before heading down this path?

{
    "message": "hello world dev fms",
    "mail_to_dev_address": "",
    "url_claims": "localhost:8005"
    "url_forms": "localhost:8006"
}

thanks

That seems like an excellent idea.