Hello, install Prestashop 1.7.6 on my PC (localhost) and everything worked perfectly, but I uploaded it to Digital Ocean and when entering the root folder of the store it returns to localhost.
Example:
Enter http://68.224.12.144/prestashop and it automatically redirects to http://localhost/prestashop
When you say "I uploaded" do you mean that you did an installation in Digital Ocean, or that you uploaded the .sql file and replicated everything again?
If it is the second option, you will have to replace the url in the database, because by default you will have "localhost".
In the ps_shop_url table you will have the column "domain" and "domain_ssl" where the values should be 68.224.12.144 and not localhost.
I also suggest that when working locally, you use the "hosts" file to emulate the final domain of the project. In this way when migrating it to the server, you will not have these problems.
I leave you a link so you can review this option and then be able to investigate more about it: https://www.redeszone.net/tutoriales/internet/que-es-archivo-hosts/