dokploy icon indicating copy to clipboard operation
dokploy copied to clipboard

Prompt the user to re-deploy on domain changes if the service is already deployed

Open FallenChromium opened this issue 3 months ago • 1 comments

What problem will this feature address?

It's kinda dumb but from time to time I forget that Traefik endpoints work through container labels which are not updated in real-time, so it's very painful to get 404 and "self-signed certificate" issues until I finally recall that I have to re-deploy the service I've configured.

Describe the solution you'd like

A simple modal or a info block that says that I have to restart the service would suffice. Perhaps this will be more friendly to users with no DevOps background.

Describe alternatives you've considered

Maybe Dokploy could auto-redeploy, but that sounds dangerous enough for people to get significant downtime without knowing it before-hand. If there's a way to dynamically reconfigure the container labels that would definitely make more sense as well.

Additional context

No response

Will you send a PR to implement it?

Maybe, need help

FallenChromium avatar Aug 27 '25 16:08 FallenChromium

+1. We definitely need a hint here. Either a warning banner like on the Requests page or an auto-deploy trigger upon adding a domain would improve the UX significantly.

I ran into this exact issue while deploying with Docker Compose.

After adding a domain, I didn't realize I needed to hit 'Deploy' again, which caused the domain to remain inaccessible. I spent some time troubleshooting and eventually found that the specific domain was missing from the Traefik dynamic configuration. It only took effect after I manually triggered the redeploy.

Loongphy avatar Nov 25 '25 06:11 Loongphy