Replies: 5 comments 4 replies
-
I think I summarized my stance on the topic well here: Well I prefer official1 images because I can spin up a test container to see how it works, deploy easily without the need of
I'll not build docker images on the server my applications running, if I'm not at a computer where I can build one, the application will not be updated until I can sit down somewhere to build it (that's why I spend extra time creating github actions with manual triggering2). It's a lot more work and resources if I can access my raspberry and build there because that's arm and my VPS is not arm, so that's That's a lot of extra work instead of just using an image, even get notifications when new image is available and just update the image tag. Right now my solution is a GitHub action that I can trigger manually with a build arg to get a new image without running any docker commands, I can even kick off a new build from my phone. I have a few projects with this logic because those don't provide an official image (or there is not reasonable image), so it's fine by me, but other's may get annoyed if they have to build their own image all the time. Like imagine a person who uses a homelab with something like portainer. They want to host it themselves, but they may don't have environment setup to build docker images as they are using pre-built images only. In that case they will head to one of the search engines and try to find one which might or might not updated. My plan for now is to add a cron job to my builder github workflow to check if there is a new tag on this repo and build a new one automatically. But that's the most I can do on this front as there is no way to trigger an action of a separate repository without sharing secrets (like I would have to give @cheeaun a personal access token to my github account, well I wouldn't do that). At least I don't know any other ways than calling github's Footnotes
|
Beta Was this translation helpful? Give feedback.
-
gonna start with a response to @AlyxPink (#466 (comment))
I dont necessarily prefer an official one over my own, but I do prefer a well maintained image (third party or not) over maintaining my own. linuxserver.io is a good example of an image maintainer that I trust and run locally. I think given @cheeaun's (totally respectable) lack of interest in maintaining a first party image, the best move for the repo would be to make sure that instance specific configurations can be safely and clearly managed by third party installations. in response to (#501 (comment))
Technically yes, but iirc it either requires that the repos live under the same owner/org and share an app token. I think the normal procedure is that the image maintainer puts out nightly builds from |
Beta Was this translation helpful? Give feedback.
-
As an alternative if you don't want to manage the whole ci/cd pipeline. You could add a simple dockerfile to your repo like this one: And a quick one-liner docker/podman build and then run command in the readme. That would get a working version up for everyone who wants to self-host. Maybe there's some volume mounts they would need to as well to let auth tokens and session settings survive redeployment of the container. I dunno where that would be. |
Beta Was this translation helpful? Give feedback.
-
Firstly, I think that it's great to run Phanpy locally. It would be fantastic if it was easier to "install" Phanpy this way, rather than relying on online deployments, which may be under control of an unknown or untrusted party. I'll try to summarize the points that I find difficult - and which I think need a decision before anything official is done:
In conclusion, I think it's better to aim for an officially endorsed documentation section about Docker-based local deployments and self-hosting. Using a documentation-approach allows to elaborate on necessary discussions, so the reader is well-informed. This also fits a "target group", i.e. people who will install via Docker already know something about it and can follow a recipe from documentation. |
Beta Was this translation helpful? Give feedback.
-
I have added a simple Dockerfile for public-facing deployments in this PR: #883 |
Beta Was this translation helpful? Give feedback.
-
We have two separate PRs to discuss the topic (see #466 (comment) from @AlyxPink), and I think it's more like a Discussion thing and not a PR thing as we are not talking about the PR really, we are talking about how we want to handle it. Do we want an official one or not, and in both cases what's the next step?
Related discussions (PR):
I try to collect some key components:
Beta Was this translation helpful? Give feedback.
All reactions