haiwen / seafile-docker

A Docker image for Seafile server
Other
537 stars 181 forks source link

Moving from phusion/baseimage to s6-overlay for process supervision #286

Closed fakuivan closed 1 month ago

fakuivan commented 2 years ago

Seeing that this scheme of an "all in one container" is here to stay, I'd propose using s6 as a process supervisor instead of phusion/baseimage. All docker containers from linuxserver.io and many others use s6-overlay to manage multiprocess containers. To me the main advantage is that it would allow us to run the seafile server and maybe nginx as a user other than root.

freeplant commented 1 month ago

From our research, multiprocess is needed for run complex Django application like Seafile. For the newest version, we use Ubuntu 22.04 as the base image.