Erpnext docker image, the project is forked from davidgu/erpnext
$ docker create -v /home/frappe/frappe-bench/sites/site1.local/ -v /var/lib/mysql --name erpdata cloudhsiao/erpnext
$ docker run -d -p 80:80 -p 8000:8000 --name erpnext --volumes-from erpdata cloudhsiao/erpnext
Expose port 8000 if you wanna use dev mode, or you can use -P instead.
$ docker run -d -P --name erpnext --volumes-from erpdata cloudhsiao/erpnext
$ docker exec -ti erpnext cat /root/frappe_passwords.txt
Login on http://localhost with Administrator / password
Open shell of running container by entering:
$ docker exec -it erpnext /bin/bash
And then enter the following in the container.
cd frappe-bench
rm config/supervisor.conf
rm config/nginx.conf
service nginx stop
service supervisor stop
The container will stop after stopping supervisor, you should re-start and open the shell.
$ docker start erpnext
$ docker exec -it erpnext /bin/bash
Restart the bench in the container.
bench start
Finally, detach from the container by pressing ctrl + p and ctrl + q.
Content type
Image
Digest
Size
1 GB
Last updated
over 9 years ago
docker pull cloudhsiao/erpnext