Docker erpnext v14 in local machine not working

hi i tried erpnext v14 in a cloud machine refering the
doc frappe_docker/single-server-example.md at main · frappe/frappe_docker · GitHub
it works fine

but i tried to install erpnext v14 docker installation in my local machine

i give the parameters in /etc/hosts

127.0.0.1   traefik.localhost
127.0.0.1   erpnext.localhost

and in

$ ~/gitops/traefik.env
TRAEFIK_DOMAIN=traefik.localhost

and in ~/gitops/erpnext-one.env

SITES= erpnext.localhost 

Try to create site erpnext.localhost

docker compose --project-name erpnext-one exec backend \
  bench new-site **erpnext.localhost** --no-mariadb-socket --mariadb-root-password changeit --install-app erpnext --admin-password changeit

and in browser
https://erpnext.localhost/
404 page not found

anything my procedure is wrong in configuring docker erpnext v14 in local machine
kindly give a hint to fix the issue , Thanks

make sure all containers are running

check traefik dashboard for anything red

try the easy install script, it uses the same compose files

i tested the Easy Install script in my local machine

$ wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py
$ python3 easy-install.py --prod --email mymail@gmail.com

i got

Creating site: site1.localhost 
 

Installing frappe...
Updating DocTypes for frappe        : [====================] 100%
Updating country info               : [====================] 100%
Updating Dashboard for frappe

Installing erpnext...
Updating DocTypes for erpnext       : [====================] 100%
Updating customizations for Address
Updating customizations for Contact
Updating Dashboard for erpnext
site1.localhost: SystemSettings.enable_scheduler is UNSET
*** Scheduler is disabled ***
Current Site set to site1.localhost

when i access site1.localhost
404 page not found
all the containers are running
any clues to fix it

Site access is based on host header.

You can verify the access like the tests here:

If you for some reason cannot set host header then just create frontend services that expose port and set the FRAPPE_SITE_NAME_HEADER env var to site from the bench to serve. You can achieve port based multi tenancy with this.