Unable to open ODK Central login page

Hello everybody, I just installed ODK central on my local machine.Docker version 20.10.17,docker-compose version 1.29.2,and did the following settings over the file

$ nano .env 

# Use fully qualified domain names. 
Set to DOMAIN=local if SSL_TYPE=selfsign.
DOMAIN=localhost

# Used for Let's Encrypt expiration emails and Enketo technical support emails
SYSADMIN_EMAIL=xxxxxxx@gmail.com
# Options: letsencrypt, customssl, upstream, selfsign
SSL_TYPE=selfsign

# Do not change if using SSL_TYPE=letsencrypt
HTTP_PORT=80
#HTTPS_PORT=443

I just run start ODK central server as follow.How ever I can't browse the page
using http:localhost. is something wrong from myside.

$ docker-compose ps

            Name                          Command                       State                                   Ports                         
----------------------------------------------------------------------------------------------------------------------------------------------
central_enketo_1               docker-entrypoint.sh /bin/ ...   Up                      8005/tcp                                              
central_enketo_redis_cache_1   docker-entrypoint.sh redis ...   Up                      6379/tcp                                              
central_enketo_redis_main_1    docker-entrypoint.sh redis ...   Up                      6379/tcp                                              
central_mail_1                 /bin/entrypoint.sh exim -b ...   Up                      25/tcp                                                
central_nginx_1                /bin/bash /scripts/odk-set ...   Up (health: starting)   0.0.0.0:443->443/tcp,:::443->443/tcp,                 
                                                                                        0.0.0.0:80->80/tcp,:::80->80/tcp                      
central_postgres_1             docker-entrypoint.sh postgres    Up                      5432/tcp                                              
central_pyxform_1              gunicorn --bind 0.0.0.0:80 ...   Up                                                                            
central_secrets_1              docker-entrypoint.sh ./gen ...   Exit 0                                                                        
central_service_1              docker-entrypoint.sh ./wai ...   Up                      8383/tcp

As noted at https://docs.getodk.org/central-install-digital-ocean/#getting-a-web-address-domain-name, you must use a fully-qualified domain name. Localhost will not work.

Thanks @yanokwa , how can someone can try using localhost or on a given local server in a development mood.?

You can pull it up with ngrok. It provides a temporary URL that you can use to access ODK on your local host. For details, see ngrok docs.

For development purposes, see https://github.com/getodk/central#contributing to setup a dev environment.

You could also, in the .env file set DOMAIN to local and SSLTYPE to selfsign, Central will self-sign a cert.