Add a fixed external ip to nextcloud

Hello,
I just installed NextCloudPi and I can connect without problems.
How can I add a fixed external ip to nextcloud (example 154.54.879.658), I don’t want to use freedns … ?
Thank you