Fpm vs. Apache?

I’m going to transition my existing Nextcloud installation to Docker. It will be a low-volume server running in-house on x64 hardware, and will run behind an nginx reverse proxy that will handle encryption. I’m reasonably familiar with Docker and already have nginx and mariadb running in existing containers. I’m also pretty familiar with Apache but not fpm.

What are the pros and cons of using the Apache-based Nextcloud containers vs. the fpm-based ones? Is there a difference on low-end hardware? Is one or the other more RAM-efficient? The (Alpine-based) fpm image looks quite a bit smaller than the (Debian-based?) Apache, but I’m not very concerned with image size.

4 Likes