Helpdesk 404 Error after Docker Setup — Need Production Configuration Help (with Caddy)

Hi Team,

I’ve been trying to configure Frappe Helpdesk (v1.15.1) on Frappe Framework v15.81.0 using Docker for production setup.

I followed the documentation and was able to bring up the containers successfully.
However, after setup, when I open the Helpdesk Configuration page, it loads fine — but when I click on “Visit Helpdesk”, it leads to a 404 Page Not Found error.


:gear: My Environment

  • Frappe Framework: v15.81.0
  • Helpdesk App: v1.15.1 (main branch)
  • Telephony: v0.0.1 (develop)
  • Setup Type: Docker
  • Domain: helpdesk.ydfindia.org
  • Reverse Proxy: Want to use Caddy instead of Nginx

:camera_flash: Screenshots

  1. Helpdesk configuration page showing available settings
  2. 404 error page when clicking “Visit Helpdesk”

:question: Issue Summary

After setup:

  • The Helpdesk configuration dashboard loads (showing “Ticket Type”, “Agent”, etc.).
  • Clicking “Visit Helpdesk” gives a 404 error.
  • It looks like the frontend or route for Helpdesk isn’t being served.

I suspect either:

  • The Helpdesk frontend build is missing or not linked correctly inside the container, or
  • Some routing/proxy configuration is missing for /helpdesk path, or
  • The Docker setup doesn’t include the static build step for Helpdesk.

:brain: What I Want to Know

  1. What’s the correct server configuration (docker-compose, ports, environment) for Helpdesk production setup?
  2. How to properly serve Helpdesk frontend via Docker (does it require manual npm run build inside the container)?
  3. I’d like to use Caddy instead of Nginx — any working example or guide for Caddy + Frappe + Helpdesk setup?
  4. Am I missing any specific environment variable or routing configuration?