fossar / selfoss

multipurpose rss reader, live stream, mashup, aggregation web application
https://selfoss.aditu.de
GNU General Public License v3.0
2.35k stars 343 forks source link

feat(docker): add basic docker support #1433

Open desaintmartin opened 1 year ago

desaintmartin commented 1 year ago

Here is a first try of https://github.com/fossar/selfoss/issues/1350 as a simpler alternative / first step than https://github.com/fossar/selfoss/pull/1170

Here are some notes:

What do you think?

Potential next steps if this gets merged:

netlify[bot] commented 1 year ago

Deploy Preview for selfoss canceled.

Name Link
Latest commit 29108917d22da78b87290d34b0ff2e6bd056da6b
Latest deploy log https://app.netlify.com/sites/selfoss/deploys/65441d7039c136000849f091
desaintmartin commented 8 months ago

A few months later, let me try to answer.

Still the main obstacle is that I do not understand how users that want Docker expect to use the image so I have no way of evaluating whether the PR fits that.

I understand this issue. Maybe I can just say that I'm a Kubernetes contributor (see my profile) and my production clusters manage ~15000 running containers right now, if that helps. Of course I don't want to pretend to be someone here! ;)

Do people just run docker commands manually? Or use something like docker-compose? How do they handle updates? What are security considerations? How do people configure software? How do they manage data backups?

It really depend, some use docker-compose, some use raw docker/containerd commands, some use Kubernetes either directly or through Helm, some use home NAS like synology to manage containers for them, but all of them use container image definition.

I'm going to update a bit the PR to be more up-to-date and take into account your suggestions!

desaintmartin commented 8 months ago

Notes:

desaintmartin commented 4 months ago

Hello @jtojnar, would you have any time to review this PR?