Sign inSign up

cloudhsiao/erpnext

By cloudhsiao

Updated over 9 years ago

Forked from davidgu/erpnext

Image
1

1.0K

cloudhsiao/erpnext repository overview

erpnext

Erpnext docker image, the project is forked from davidgu/erpnext

  • Based on: ubuntu:trusty
  • Including services:
    • Redis
    • Nginx
    • memcached
    • Maridb
    • cron

run data container

$ docker create -v /home/frappe/frappe-bench/sites/site1.local/ -v /var/lib/mysql --name erpdata cloudhsiao/erpnext

run 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

get passwords

$ docker exec -ti erpnext cat /root/frappe_passwords.txt

Login on http://localhost with Administrator / password

switch to dev mode

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.

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 9 years ago

docker pull cloudhsiao/erpnext