Seafile server in kubernetes




I recently switched my personal Seafile server to run inside docker container on top of k8s cluster. For those who interested, here is the article describing my current installation:

It also uses custom docker image for Seafile. I am unhappy with official image because of the several reasons:

  • it uses launcher. it looks like another wheel reinvention to me, since we already have orchestration tools for docker
  • it includes nginx and mysql. Well, nginx and mysql are good examples of services which may be shared between different applications and I do not think this is a good idea.
  • it is multiprocess container. If some component fails (like seahub), I had to restart all of them.

Overall, it looks like official docker image for Seafile contradicts with docker philosophy. And it is not convenient to use it in other environment besides pure docker.