Replies: 1 comment
-
|
Hi @baltermia! I'm Dosu and I’m helping the dokploy team. This is a known limitation with how Docker itself (and by extension Dokploy) handles registry credentials. While Dokploy's schema has no unique constraint on For Compose/Stack deployments specifically, there is no per-service registry assignment [2]. Dokploy passes Possible workarounds:
There's no open issue tracking this specific use case (multiple credentials for the same registry URL in Compose), so filing a feature request might be worthwhile if the workarounds don't fit your setup. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a self-hosted GitLab instance with multiple groups. I create a deploy token for each repository. The problem comes up when I add these credentials to the dokploy Docker Registry configurations; I have to enter the same URL for all of them (kinda obvious, since it's the same GitLab instance).
Now, when I try to deploy my 2 applications (with a compose file), and dokploy tries to pull the images, it uses the same credentials for both applications, even though one repository has other credentials than the other. This leads to one app deploying successfully and the other failing. I have to manually edit the Docker registry configs each time I want to deploy both apps.
Is there any way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions