I am trying to run our non-production moodle app on ephemeral (GCP-preemptible/AWS-spot) servers.
OS: Debian 9
I want to use an external Redis server for session and caching. I understand it can be configured in GUI following this document. However, as I am configuring the setup as part of the server initialisation script, could you please let me know how to set the Redis instance URL and port in the config.php.