How to setup frappe benches, sites and custom domains with dokploy

Recently ERPNext template was added to dokploy.com by @buildwithhussain, with that users can now have complex setup on a single vm or docker swarm cluster.

The github gist tries to showcase:

  • creation of first bench for “erpnext” with one site.
  • add custom domain pointing to existing site on bench for “erpnext”.
  • add new site and domain for the “erpnext” bench.
  • creation of second bench for “crm” with one site.
  • add custom domain pointing to existing site on bench for “crm”.
  • add new site and domain for the “crm” bench.

How to setup: Advance frappe benches with Dokploy · GitHub

8 Likes

Thanks @revant_one @buildwithhussain
Really useful :slight_smile:

looks great, thanks. Is it also easy to add additional modules/apps this way? Eg non_profit, crm, alyf/banking?

You need to build custom image and deploy by changing the IMAGE_NAME and VERSION env var.

Now Frappe HR is available as template on Dokploy, feat(template): frappe HR, open source HR & Payroll software by NagariaHussain · Pull Request #1239 · Dokploy/dokploy · GitHub

1 Like

How do you deploy multiple apps on one site for example to install ERPNEXT, HRMS and CRM onto the portal.domainname.com? in a dokploy container?

  • To install custom list of apps build custom image
  • To install apps available from official images use Dokploy templates

Hi Revant
Thank you very much for your response, what i actually meant to ask is that "Can you be able to deploy those 2 Dokploy templates (i.e ERPNEXT and HRMS ) onto one site portal.domainname.com?

No, you will need to build another image with crm in it.

Btw frappe hr will install erpnext as it depends on it.

1 Like