- Notifications
You must be signed in to change notification settings - Fork1
Docker Compose to deploy ERPNext in production
License
aimen08/docker-erpnext
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository is anCloud Native solution powered byWebsoft9, it simplifies the complicated installation and initialization process.
The following are the minimalrecommended requirements:
- OS: Red Hat, CentOS, Debian, Ubuntu or other's Linux OS
- Public Cloud: More than 20+ major Cloud such as AWS, Azure, Google Cloud, Alibaba Cloud, HUAWEIClOUD, Tencent Cloud
- Private Cloud: KVM, VMware, VirtualBox, OpenStack
- ARCH: Linux x86-64, ARM 32/64, Windows x86-64, IBM POWER8, x86/i686
- RAM: 4 GB or more
- CPU: 2 cores or higher
- HDD: at least 20 GB of free space
- Swap file: at least 2 GB
- bandwidth: more fluent experience over 100M
Use SSH to connect your instance and run the automatic installation script below
sudo wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/docker-installer.sh; sudo bash docker-installer.sh -r erpnext
1.Make packageYou can get the package as following script
sudo wget -N https://raw.githubusercontent.com/Websoft9/StackHub/main/docker-installer.sh; sudo bash docker-installer.sh -r erpnext -p
2.Install by packageCopy package to your server, Use SSH to connect your instance and run the automatic installation script below
sudo bash install-erpnext
If you have not install Docker and Docker-Compose, refer to the following commands to install it:
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.shcurl -L "https://github.com/docker/compose/releases/download/v2.1.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-composesudo chmod +x /usr/local/bin/docker-composeln -sf /usr/local/bin/docker-compose /usr/binsudo systemctl start dockersudo usermod -aG docker $USERnewgrp docker
We assume that you are already familiar with Docker, and you can modifydocker-compose file by yourself
git clone --depth=1 https://github.com/Websoft9/docker-erpnextcd docker-erpnextpublic_ip=`wget -O - https://download.websoft9.com/ansible/get_ip.sh | bash` sudo sed -i s/erpnext.example.com/$public_ip/g ./.envdocker network create -d bridge websoft9docker-compose up -d
Yes, you should modify all database password and application password at docker-compose file for production
You should modify ports atdocker-compose file and docker-compose again
The use of 9001 or other ports will lead to errors in some containers and make the application unable to access normally
If you want to run erpnext13, you only need to change ERPNEXT_VERSION/FRAPPE_VERSIO to V13;Please delete volumes before edit configure
You can point your browser to:http://Instance's Internet IP:port
The following is the information that may be needed during use
By default, the available users are:
Username | Password |
---|---|
Administrator | admin |
Service | Port | Use | Necessity |
---|---|---|---|
erpnext | 8000 | Browser access to ERPNext by http | Y |
mariadb | 3306 | Accessing MySQL database with TCP | Y |
If you want to get our Enterprise Support to ensure high availability of applications, you can subscribe ourERPNext Enterprise Support
What you get with a Enterprise Support subscription?
- Knowledge: Answers and guidance from product experts
- Support: Everything you need for technical support, e.g Enable HTTPS, Upgrade guide
- Security: Security services and tools to protect your software