Coder Social home page Coder Social logo

erpnext-docker's Introduction

Erpnext-docker

Dockerizing erpnext for production

git clone https://github.com/shridarpatil/erpnext-docker.git
cd  erpnext-docker
docker pull shridh0r/erpnext:<tagname>

update same tagname in docker-compose.yml file

docker-compose up
docker exec -it erpnext-docker_web-app_1 /bin/sh

bench reinstall
bench build

open http://localhost:8005

Customizing docker

Pull docker image

docker pull shridh0r/erpnext:tagname

Run

Docker compose up by default runs bench start you can change it to run using gunicorn by replacing the command under service web-app in docker-compose.yml file with the following command

/home/frappe/frappe-bench/env/bin/gunicorn -b 0.0.0.0:8000 --workers 4 --threads 4 -t 120 frappe.app:application --preload.

docker-compose up

Create site

Exec into docker container and create new site

  • bench new-site site1.local

  • bench install-app erpnext

  • Visit http://localhost:8000.

Custom Build

Docker build by default pull's erpnext master branch
docker build . -t shridh0r/erpnext:v12 --build-arg BRANCH=version-12 --build-arg IMAGE_VERSION=v12

Build args

erpnext-docker's People

Contributors

shridarpatil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

erpnext-docker's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.