https://github.com/shridarpatil/erpnext-docker
Dockerizing erpnext
https://github.com/shridarpatil/erpnext-docker
docker erp erpnext erpnext-docker frappe frappe-erpnext
Last synced: about 2 months ago
JSON representation
Dockerizing erpnext
- Host: GitHub
- URL: https://github.com/shridarpatil/erpnext-docker
- Owner: shridarpatil
- License: mit
- Created: 2020-02-04T06:01:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T12:03:19.000Z (over 1 year ago)
- Last Synced: 2025-03-26T02:51:13.554Z (2 months ago)
- Topics: docker, erp, erpnext, erpnext-docker, frappe, frappe-erpnext
- Language: Shell
- Homepage:
- Size: 583 KB
- Stars: 18
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Erpnext-docker
Dockerizing erpnext for production
```
git clone https://github.com/shridarpatil/erpnext-docker.git
cd erpnext-docker
docker pull shridh0r/erpnext:update same tagname in docker-compose.yml file
docker-compose up
docker exec -it erpnext-docker_web-app_1 /bin/shbench 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
- [x] IMAGE_VERSION - Frappe image tagname. Check tags -> (https://hub.docker.com/r/shridh0r/erpnext/tags)
- [x] BRANCH - Branch name
- [x] APP_PATH - Erpnext app path