MARIADB_HOST or POSTGRES_HOST is not set

I am trying to run ErpNext on Docker, but getting below log while trying to run container.

MARIADB_HOST or POSTGRES_HOST is not set

Docker Pull Command -
docker pull frappe/erpnext-worker

@revant_one can you please help here?

share credentials.

with this limited info I can’t help.

and asking more info will take 3-4 posts

My Mariadb Credentials -

Hostname/IP- 127.0.0.1
Port- 3306
User- root
Password- 123

Please let me know if you need any other info…

Did I missed any paramerter while trying to run ErpNext docker image?
docker run frappe/erpnext-worker

Issue is - Environment variables are getting fetching while running ErpNext container.

When I pass Env variables manually, then container get started.

Why environment file is not fetching in ErpNext docker container?

check this GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

how did you install docker-compose? try official docker-compose installation?