To Reproduce
When configuring a domain on a Docker Compose application with HTTPS enabled and certificateType set to None, Dokploy does not generate the tls=true Traefik label on the websecure router. This causes Traefik to not terminate TLS for that domain, resulting in a 404 for all HTTPS requests, even though the container is running correctly and the custom certificate is being properly used.
- Upload a custom certificate in Settings → Certificates
- Create a Docker Compose application
- Add a domain with: HTTPS: ON / Certificate: None
- Deploy the stack
- Access the domain over HTTPS
Current vs. Expected behavior
The generated Docker Compose labels should include:
traefik.http.routers.<router-name>-websecure.tls=true
but the websecure router is generated without any TLS label
Compare this with certificateType: letsencrypt, which correctly generates:
- traefik.http.routers.<router-name>-websecure.tls.certresolver=letsencrypt
Workaround
Manually add the missing label directly in docker-compose.yml:
labels:
- traefik.http.routers.<router-name>-websecure.tls=true
Provide environment information
Operating System:
OS: Ubuntu 24.04.4 LTS
Arch: arm64
Dokploy version: 0.28.6
VPS Provider: Hetzner
Which area(s) are affected? (Select all that apply)
Docker Compose
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No
To Reproduce
When configuring a domain on a Docker Compose application with HTTPS enabled and
certificateTypeset toNone, Dokploy does not generate thetls=trueTraefik label on thewebsecurerouter. This causes Traefik to not terminate TLS for that domain, resulting in a 404 for all HTTPS requests, even though the container is running correctly and the custom certificate is being properly used.Current vs. Expected behavior
The generated Docker Compose labels should include:
but the
websecurerouter is generated without any TLS labelCompare this with
certificateType: letsencrypt, which correctly generates:- traefik.http.routers.<router-name>-websecure.tls.certresolver=letsencryptWorkaround
Manually add the missing label directly in
docker-compose.yml:Provide environment information
Which area(s) are affected? (Select all that apply)
Docker Compose
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
No