Add ENV vars to running Rancher Server container

I have started a Rancher server (external MySQL) on AWS.

However after several operational days, I just found out that for the Rancher server node statistics to be exported to prometheus (and from there to grafana ) I need to set an additional environmental variable as also a port mapping.

What is the best/recommended way of stopping and restarting the server with these two additional parameters?

Same as any other upgrade, the version just isn’t necessarily changing.

Thanks, that did the job.
(…and showcased the usefulness of external db…)