[Tutorial][Docker] Installing ERPNext-15 on Docker: A Step-by-Step Guide [Production]

what kind of help you want please give more info or you stuck someware ?

Which instructions do I follow to begin with? What is the free offline only variant even called? Also I followed the instructions in this thread I think and there was an issue, I’ll do it again if these are the ones I’m supposed to follow and post the problem I faced

I think so please post the issue. try once again

Alright I’ll try it late tonight and post the issue, please check it whenever you can and let me know

I was successful in installing erpnext but I need some help in installing india_compliance and pos_awesome apps to my build version

Hey there,

If like myself you were trying to use this setup locally, here is how you can achieve this:

→ before creating your final yaml with the overrides, make sure that you set the environment variable FRAPPE_SITE_NAME_HEADER to the name of your site to be created locally (for example: mysite.localhost).
PS : if you do not want to make changes to /etc/hosts file, you SHOULD have the name of your site end with .localhost so that the requests naturally go to the localhost for Traefik to pick them up.

→ DO NOT set the SITES environment variable since this is related to SSL.
→ Now create your docker-compose.yaml file with the overrides, create a site with the same name as defined above, and you should be able to access your site using just localhost (if traefik runs or port 80).

I am getting the error when i try this.
docker compose --project-name erpnextone exec backend
bench new-site site.domain.com --no-mariadb-socket --mariadb-root-password tw123 --db-port 3308 --install-app erpnext --admin-password Admin@123

pymysql.err.OperationalError: (2003, “Can’t connect to MySQL server on ‘mariadb-database’ ([Errno 111] Connection refused)”)

I am not getting the reason for the error , please help me to understand the reason for this.

Are you still facing the issue, please ensure the mariadb container running fine, please ensure that your using the correct site name.

Issue is not resolved yet, When I run the "docker ps ", i can see this :
7c6dc6f8a87c mariadb:10.6 “docker-entrypoint.s…” 3 days ago Up 3 days (healthy) 3306/tcp, 0.0.0.0:3308->3308/tcp, :::3308->3308/tcp mariadb-database

Even when i try to delete the site , it gives the same error.

One thing I forgot to mention that we are running mysql in this server without docker.