Frappe, ERPNext - Dockerized on Alpine
Follow the steps below to run your own local installation of ERPNext.
- install docker as per these instructions https://docs.docker.com/engine/installation/
- install docker compose with
sudo apt install docker-compose
(debian/ubuntu)
git clone https://github.com/emadshaaban92/docker-compose-erpnext.git
cd docker-compose-erpnext
- First we need to bootstrap the installation, run:
docker-compose -f manage.yml run setup
- Enter
y
and enter, when asked to reset the database (be patient. This may take quite a while) - Start the containers:
docker-compose up -d
- Watch the container logs:
docker-compose logs -f
You should be able to log in to the server at http://localhost
. The username is Administrator
and the password is frappe
. Follow the prompts to complete the initial setup.
- Stop & remove the containers:
docker-compose down
- Change ERPNEXT_VERSION in .env file
- Update database (run patches & migrations):
docker-compose -f manage.yml run update
- Start the containers:
docker-compose up -d
- Watch the container logs:
docker-compose logs -f
Run : docker-compose -f manage.yml run backup
You can find your new created backup inside sites/localhost/private/backups
Run : docker-compose -f manage.yml run restore
This will prompt you to choose form previous backups in sites/localhost/private/backups
Run : docker-compose -f manage.yml run migrate