Private Docker registry


I have an ubuntu server in which i have installed gitlab docker ce. I want to use this server as a private registry but i do not have a cert and would run it with the IP address only since i would not have a dns. I will run this as a private registry within the instance
Could you please let me know what all changes i need to make in the gitlab.rb file.