Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

private docker image with docker-compose issue #125

Closed
Siumauricio opened this issue Jun 6, 2024 Discussed in #123 · 0 comments · Fixed by #126
Closed

private docker image with docker-compose issue #125

Siumauricio opened this issue Jun 6, 2024 Discussed in #123 · 0 comments · Fixed by #126
Labels
bug Something isn't working

Comments

@Siumauricio
Copy link
Contributor

Discussed in #123

Originally posted by s1rd4v3 June 6, 2024
Hi all,

I'm having a hard time deploying my nextjs, strapi & postgress application on dockploy with docker-compose. I have an organization on github with a private monorepo. On branch push I've setup a workflow to build and publish both docker images, the strapi app and the nextjs app, against the github registry. This all works fine and as expected and I can directly use my docker-compose.yml with a reference to the images on a Portainer instance without issues. But with Dokploy I'm getting this error about being unauthorized to access a manifest.... No idea what this means to be honest since I haven't heard of those manifest in a docker context yet :). I've authorized Dokploy to access my private repo via the dedicated Settings page (Github App), in the Cluster settings I've added the github registry with my credentials, and I've additionally authenticated via Terminal on my VPS directly via docker login ghrc.io. I can successfully pull those two images with docker pull independently but just not via docker compose.

Any ideas what I'm missing?

╔══════════════════════════════════════════════════════════════════════════════╗
║                                                                              ║
║ App Name: compose-connect-1080p-matrix-991r83                                ║
║ Build Compose 🐳                                                             ║
║ Detected: 0 mounts 📂                                                        ║
║ Command: docker compose -p compose-connect-1080p-matrix-991r83 -f            ║
║ ./docker-compose.yml up -d --build --remove-orphans                          ║
║ Source Type: docker github ✅                                                ║
║ Compose Type: docker-compose ✅                                              ║
║                                                                              ║
╚══════════════════════════════════════════════════════════════════════════════╝
 backend Pulling 
 frontend Pulling 
 frontend Error Head "https://ghcr.io/v2/ORGNAME/REPONAME/manifests/frontend": unauthorized
 backend Error context canceled
Error response from daemon: Head "https://ghcr.io/v2/ORGNAME/REPONAME/manifests/frontend": unauthorized
ERROR: Error: child exited with code 18: ❌
```</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant