Which Ip address to Use for ICE candidates and StreamLock Certificate for webRTC streaming using Wowza Streaming Engine installed using docker on a remote Server?

we are having trouble streaming using Wowza Streaming Engine Installed on a docker container in a remote server as mentionned in this post : "Publish failed. Unable to connect" when trying to publish with webRTC from a remote server where wowza is installed using docker
we were using the IP address of the server for ICE candidates in the live application and also for the StreamLock certficate, do we have to use the wowza’s container ip address instead , and also do i have to download the certificate again everytime i change the ip address in it in my streamlock certificate dashboard in my account?