Install ERPNEXT and HRMS with custom image


I am trying to install erpnext and hrms using the easy install python script (GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps).
To do so, I followed these steps:

  1. I create a custom image with erpnext and hrms app using the following command

docker build
–build-arg=FRAPPE_PATH=GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
–file=images/custom/Containerfile .

For the APP_JSON_BQSE64 argument, I simply use the base64 command on the following text:

[ { "url": "", "branch": "version-14" }, { "url": "", "branch": "version-14" } ]

  1. I modify the x-customizable-image in the compose.yaml file from frappe_docker repository.

x-customizable-image: &customizable_image
image: custom_erpnext:staging
pull_policy: never

  1. Finally, I run the easy_install python script with the following command:

python3.11 --prod --email --project erp_hrms

I have downloaded the frappe_docker repository upfront to avoid the script to download it.
Looking at the generated compose.yml file by the easy-install script, I can see that it uses the image custom_erpnext:staging. So the custom image is used for the installation.
Here is the output of the easy-install script:

Creating site: site1.localhost

Installing frappe…
Updating DocTypes for frappe : [========================================] 100%
Updating country info : [========================================] 100%
Updating Dashboard for frappe

Installing erpnext…
Updating DocTypes for erpnext : [========================================] 100%
Updating customizations for Address
Updating customizations for Contact
Updating Dashboard for erpnext
site1.localhost: SystemSettings.enable_scheduler is UNSET
*** Scheduler is disabled ***
Current Site set to site1.localhost

I do not see hrms being installed. However, looking in the container erp_hrms-configurator-1 under /home/frappe/apps I see hrms. Also, when I access to the site, hrms is not there.

Am I missing a step here? Can anyone, help me on this?


After looking closely at the easy-install python script. The create_site only installed erpnext on the configurator container. Just had to add the docker compose command to install hrms as well.