-
Notifications
You must be signed in to change notification settings - Fork 36
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
Option to disable Stack compose pull command #64
Comments
Thanks for pointing this out, I missed this as I always use self hosted Gitea as my image registry. This fix should be very straightforward, I will whip up 1.14.1 with the fix shortly. |
Just considering this more, is it possible to have the compose file build the image? like:
Then you use |
That is possible, yes. The command printed is Before I was using Komodo, I always built the image manually beforehand (outside of the compose file), but I guess this is the proper way to do it. Not that I'm actually going to do that. It's a single container anyway so I'm now using the Deployments feature in conjunction with the Builds feature that you've implemented (which is pretty cool). The only reason I was using it in Compose, was because Dockge only supported Compose. |
I think you should actually disable that |
I think both cases may be useful. Many users will expect redeploy to get them to the latest version if they are using the latest tags and many won't use pull policy. Anyways, the fix I had in mind is another configuration field for Stack entity, The other reason it is nice to manually pull is to minimize the stack downtime during redeploy. Since the Stack must be
Anyways you are correct this behavior should be able to be turned off. Thanks for the feedback and I will add this is 1.14.1 patch releasing soon. |
Thanks for implementing! If you're still considering what to make default, I'd say |
This is implemented in 1.14.1, just released: https://github.com/mbecker20/komodo/releases/tag/v1.14.1. It does default |
Works! |
I've built an image locally with changes made and tagged it simply as
xmrig:v6.21.3
. Withimage: xmrig:v6.21.3
set in the Compose File, thedocker compose pull
command issued by Komodo when deploying a Stack rightly cannot pull this image as it is not on any online repository (normally available atghcr.io/metal3d/xmrig
):This only occurs because of the pull command. The local image is usable with normal Docker Compose.
For reference, this is where the pull command is issued:
komodo/bin/periphery/src/compose.rs
Lines 145 to 159 in 796bcac
The text was updated successfully, but these errors were encountered: