mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-15 23:02:03 -05:00
[GH-ISSUE #538] Compose domain assignation problem #6509
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MaximePremont on GitHub (Nov 15, 2025).
Original GitHub issue: https://github.com/Dokploy/templates/issues/538
To Reproduce
docker login https://mydomain.comResponse :
`Error response from daemon: Get "https://mydomain.com/v2/": tls: failed to verify certificate: x509: certificate is valid for b4b8f18b9069f2169954d7fd1602f25b.0b24b28c0281864c569a4b8570fccc3c.traefik.default, not mydomain.com
Current vs. Expected behavior
I tried with default projets, or traefik domains, custom domains.
Always the same error.
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
EDIT :
Seems that the problem is with compose and not the registry template, please see my next messages.
@MaximePremont commented on GitHub (Nov 15, 2025):
The problem may be a bit more complex, it seems that there is no dynamic traefik file generated, and I just saw someone have the same problem with a wordpress template today so it may be a more global problem with compose and domains.
@Siumauricio commented on GitHub (Nov 16, 2025):
Hey, for problems with templates, use the repository at https://github.com/Dokploy/templates. As I see it, you are using HTTPS with traefik.me domains, which cannot be configured. To do this, use your own domain. You can also consult the documentation for that template at https://distribution.github.io/distribution/about/.
@MaximePremont commented on GitHub (Nov 17, 2025):
Hello @Siumauricio , as indicated in my second message it seems that the problem is related to compose in general and not only with this template.
Also : as I mentioned in my first message, I am using my own domain, and it is precisely a problem if a Traefik domain is associated with it : I have deleted the Traefik domain and specified my own domain for HTTPS.
Also, as I explained, no dynamic files for the compose seem to be created, and I don't know if this is normal.
Same for custom personal compose or other templates like Odoo or WordPress : domain assignation not working, no traefik router/service
Notice that : routers and services are not showed on the traefik dashboard, even if the labels are shown in the converted compose :
@MaximePremont commented on GitHub (Nov 17, 2025):
I just foud out that in my Dokploy logs, I am spammed with thoses messages :
After some search, it seems that a change with the docker API/traefik cause this error, and it seems that for some people this error means that the labels for traefik/compose are now not working.
So I think that the problem is linked to this error.
EDIT AND SOLUTION
I added :
to
/etc/docker/daemon.jsonand it works now, so the problem is the docker api version used by traefik@MaximePremont commented on GitHub (Nov 24, 2025):
Fixed in a recent update, thank you for your amazing work !