Custom app with dokploy

Hello,

I followed the guide to install ERPNext with Dokploy Self-hosting Frappe/ERPNext Apps with Dokploy | Frappe Blog . Everything was working until, once the application was operational, I attempted to install an app using bench get-app https://github.com/scopen-coop/erpnext_france.git and bench install-app. At that point, I encountered numerous issues, such as modules not found, etc.

I managed, miraculously, to get it working by running get-app on all containers. However, after that, my application no longer had any CSS.

Therefore, I ask you today: how can I install a custom image with Dokploy? And more fundamentally, is it a good idea?

seems like you need a custom docker image with the said apps

In my opinion, this is due to the version difference between the apps.

To be able to install new apps, you would have to build a new image and include all the apps that you would eventually want to install.

For all apps to work, you have to manually test their versions when building the custom image. For my custom image, I installed one app at a time, and checked whether the version is compatible.

Here is my app list with compatible versions:

# apps.json

[
  { 
     "url": "https://github.com/frappe/erpnext",
     "branch": "version-15"
  },
  { 
     "url": "https://github.com/frappe/hrms",
     "branch": "version-15"
  },
  { 
     "url": "https://github.com/frappe/ecommerce_integrations",
     "branch": "main"
  },
  { 
     "url": "https://github.com/frappe/payments",
     "branch": "version-15"
  },
  {
     "url": "https://github.com/frappe/print_designer",
     "branch": "main"
  },
  {
     "url": "https://github.com/frappe/insights",
     "branch": "main"
  },
  {
     "url": "https://github.com/frappe/builder",
     "branch": "master"
  }
]

I couldn’t add Helpdesk, it would mess up the CSS for the entire setup.