This repository prioritizes stability, repeatability and simplicity, and is not designed as the ideal approach for a production environment.
-
ERPNext development progresses rapidly, with new updates released daily. Some of these updates may contain bugs.
-
ERPNext depends on numerous external components. During installation, these dependencies can sometimes cause issues, and without a pre-built image, it might be impossible to build or use older versions.
By using Docker, we can pre-build images and push them to Docker hub. This ensures that usable images are always available, and you can select the version that best suits your needs.
This setup is designed for users who want to explore the system and is not suitable for production use.
docker pull pipech/erpnext-docker-debian:version-15-latest
docker run -d -p 8000:8000 -p 9000:9000 -p 3306:3306 pipech/erpnext-docker-debian:version-15-latest
The site should be available at http://localhost:8000 after 1-2 minutes.
This is a self-contained development setup. Developers can fully isolate their environment. The setup utilizes Visual Studio Code and its Dev Containers feature.
- Open Visual Studio Code.
- Open the Command Palette (View > Command Palette or Ctrl + Shift + P).
- Type:
Open Folder in Container
. - Select the
setup_development
folder.
For every startup, run:
sudo service mariadb start
bench start
For best practices in a production environment, Official Frappe Docker.
ERPNext | U: administrator P: 12345
MariaDB | U: root P: 12345
For detailed information on the build process, please review the Dockerfile
and .github/workflows/push-docker.yml
.
In summary:
- Starts with the
frappe/bench
image as the base. - Integrates all necessary production dependencies like MariaDB, Redis, etc.
- Sets up new sites and verifies their functionality by checking for a response code of 200.
- Upon successful verification, tags and pushes the images to Docker hub.
Images will be automatically generated every Sunday at 00:00.
15-F45.0_E39.0
represents:
- Frappe version 15.45.0
- ERPNext version 15.39.0
We welcome pull requests for new features, bug fixes, enhancements to documentation (including typo corrections), and suggestions. Your contributions help improve the project!
This project is licensed under the MIT License.