Hey all.
Some people in a local open source group were talking about a diaspora docker instance. There are several docker images and dockerfiles out there and that seems like a decent approach to take but as far as I know there is no “official” docker image for diaspora. Looking at the dockerfiles I see that they end up installing apache or nginx + mysql + redis etc so they have lots of daemons running in the same container. This goes against the docker philosophy of having one server per container but I guess it’s better than running a swarm or having a kubernetes install.
I was thinking that if it was possible to run diaspora on jruby it would be possible to create a jar file that somebody could run with just a “java -jar diaspora.jar” or something but in order to make that happen diaspora would need to be able to use sqlite, not need to depend on redis (AFIK this is for sidekiq), and use puma.
Does this seem feasible to you guys? How hard would be to replace sidekiq with something else? If we are using jruby spinning off a thread for background tasks would be no problem. I understand that there are jruby alternatives to imagemagick too.
Anyway I thought it might be an interesting discussion to see if some of the dependencies can be reduced or removed.
Cheers.