grocy / grocy-docker

ERP beyond your fridge - now containerized - this is the docker repo of https://github.com/grocy/grocy
MIT License
406 stars 117 forks source link

Plan from migrating away from dockerhub? #209

Closed hydrargyrum closed 1 year ago

hydrargyrum commented 1 year ago

Grocy's docker image is currently hosted on dockerhub, which has released a new policy that might endanger your hosting there (see also). Do you have any plans for migrating hosting elsewhere?

danieljkemp commented 1 year ago

It looks like they canceled that policy change. (https://www.docker.com/blog/no-longer-sunsetting-the-free-team-plan/)

Either way the dockerhub rate limits can cause issues on more complex setups.

GHCR could be a worthwhile consideration: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry

jayaddison commented 1 year ago

Short answer: not sure yet.

Longer answer: it's an economic problem related to the cost of hosting and delivering the container images, and the benefit of using the containerized application (noting as usual that it's entirely possible to run grocy without containers at all)

Some factors:

Compared to larger and more popular container images, I hope that the grocy containers are doing a reasonable job; my goal is to keep them small, compatible and buildable from source, and to keep the build process lightweight and repeatable (but I admit that the output images are not (easily?) reproducible yet).

(I'd probably welcome pull requests to add GitHub's container registry as a push destination -- hopefully that'd be quite straightforward, maybe as short as two lines of workflow code)

xxxcrow commented 1 year ago

Reliance of github which is owned by Microsoft can become tricky too There are many registries out there, maybe some are worth trying, or self hosting, I'm pretty sure self hosting would cost less than $420 a year Plus, as you say "grocy is a pretty php script" (or sth like that), so maybe just use dockerfiles I know using dockerfiles will mean "we are poor", but docker becomes anti open source, so we should move