bench icon indicating copy to clipboard operation
bench copied to clipboard

How install all frappe crm erp hrm at same time in docker?

Open devdevdevpa opened this issue 2 months ago • 8 comments

How i can install crm erp hrm in one command to docker? Im in dev environment

Thanks

devdevdevpa avatar Oct 23 '25 20:10 devdevdevpa

To create docker multi-site and multi-app please use easy-install.py: -

  1. wget https://raw.githubusercontent.com/frappe/bench/develop/easy-install.py

  2. git clone https://github.com/frappe/frappe_docker

  3. In "frappe_docker/development/apps-example.json" edit your apps with their branch: - [ { "url": "https://github.com/frappe/erpnext", "branch": "version-15" }, { "url": "https://github.com/frappe/hrms", "branch": "version-15" }, { "url": "https://github.com/frappe/education", "branch": "version-15" }, { "url": "https://github.com/frappe/crm", "branch": "main" }, { "url": "https://github.com/frappe/wiki", "branch": "master"}, { "url": "https://github.com/Aakvatech-Limited/CSF_TZ", "branch": "master"} ]

  4. python3 easy-install.py build

  5. python3 easy-install.py deploy --image=custom-apps --version=latest --sitename=bench3site1.duckdns.org --sitename=bench3site2.duckdns.org --sitename=bench3site3.duckdns.org --app=erpnext --app=hrms --app=education --app=crm --app=wiki --app=csf_tz

For step 4 and 5 if you want more options rather than default values please check out https://github.com/frappe/bench

Don't forget to add the sites to your host file

asieftejani avatar Oct 24 '25 06:10 asieftejani

Hello @asieftejani , thank you very much for the above steps, it is working for me, but now I have problem with custom apps updating in the docker. I am a newbie in the docker enviroment. Mentioned "easy-install.py upgrade" deployed apps in previous versions, unfortunately :-( Thanks for any update in advance. Jiri Sir

tonspar avatar Nov 15 '25 10:11 tonspar

Unfortunately I have not tested the upgrade feature ... however try one thing ... there is compose.yaml file and passwords in the root directory ... try shifting that elsewhere and see if it the new one it creates works Best of luck

asieftejani avatar Nov 16 '25 15:11 asieftejani

Hello @asieftejani , thanks for advice. Finally I have edited the easy-install.py by "--no-cache" tag in build section. This force the creating of the all-new image with actual versions of apps. Thank you. Jiří Šír

tonspar avatar Nov 16 '25 22:11 tonspar

@tonspar Thanks for your feedback - its great that its working

  1. An update is only an "update" if it keeps your original data and migrates (bench) to a new version even if its a new image. Did it do this or its a completely fresh new install?
  2. Do you think you can help all others who face the same situation - go to https://github.com/frappe/frappe_docker/issues/1640 and see my detailed answer. Can you add your experience and sollution so that everyone benefits - especially newbie like me and you
  3. By the way - just out of curiosity - what does "Jiri Sir" mean?

asieftejani avatar Nov 17 '25 06:11 asieftejani

Hello @asieftejani ,

  1. After this 'update' with --no-cache in easy-install.py all data stayed untouched. => just apps were be updated
  2. I will ;-)
  3. That's my name here in Czech Republic. Jiří = George, Šír = Widefield ;-)

tonspar avatar Nov 20 '25 15:11 tonspar

Hello @asieftejani , but few days ago I have found this https://github.com/rtCamp/Frappe-Manager. It is working smooth I think ;-) Jirka

tonspar avatar Nov 20 '25 15:11 tonspar

Thanks .. let me try it out

asieftejani avatar Nov 21 '25 11:11 asieftejani