Sign inSign up

rasmartin/nginx-phpfpm-4-nextcloud

By rasmartin

•Updated about 6 years ago

Image
0

523

rasmartin/nginx-phpfpm-4-nextcloud repository overview

⁠Docker-Image with Nginx + PHP-FPM optimized & configured for Nextcloud

Build Status

This is a custom Docker-Image based on Nginx⁠ and PHP-FPM⁠ to host your private Nextcloud⁠-Instance.

Nextcloud itself is not included in this image!

The Nginx-Configuration and PHP-FPM is optimized for a small Nextcloud-Instance.

⁠Distributions

At the moment the following distributions are support:

The included build.sh can be used to build the required Docker-Image.

⁠Nextcloud on a Raspberry Pi

The build for armhf can be used on a Raspberry Pi⁠. A Raspberry Pi 3 or 4 with at least 2GB Memory is recommended.

⁠FAQ's

⁠Where do I have to mount the docroot to?

The Nextcloud docroot must be mounted to /application/src.

⁠How to overwrite PHP settings?

If it is required to overwrite PHP settings, create a custom configuration file (php.ini⁠ style) which contains the required configurations and mount it with docker run to /etc/php7/conf.d/zzz-override.ini.

⁠Why there is a PHP Opcache file blacklist?

The purpose of this file blacklist is quite simple. When you are using occ (see Nextcloud OCC⁠) it could happen that your Nextcloud config/config.php is modified, for example if you turning maintenance mode on/off with occ maintenance:mode --[on|off]. But if the config-file is in Opcache, the maintenance mode setting wouldn't have any effect until your restart/reload the PHP-FPM (or reset the Opcache through other ways).

Tag summary

Content type

Image

Digest

Size

58.4 MB

Last updated

about 6 years ago

docker pull rasmartin/nginx-phpfpm-4-nextcloud