Docker erpnext v14 in local machine not working

hi i tried erpnext v14 in a cloud machine refering the
doc frappe_docker/ 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   traefik.localhost   erpnext.localhost

and in

$ ~/gitops/traefik.env

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
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
$ python3 --prod --email

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.