haiwen / seafile-docker

A Docker image for Seafile server
Other
547 stars 185 forks source link

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

Closed fakuivan closed 5 months 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 5 months 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.