Sign inSign up

robobeerun/nextcloud

By robobeerun

•Updated over 7 years ago

Nextcloud image that runs as non-privileged user.

Image
0

5.3K

robobeerun/nextcloud repository overview

⁠Nextcloud

⁠Description

It uses the official Nextcloud image⁠ as the it can take input configuration files to override the image configuration files, allowing for Kubernetes config maps. Additionally, configures a separate data directory.

⁠Environment Parameters

VariableDefaultDescription
PHP_MAX_EXECUTION_TIME300max_execution_time
PHP_MEMORY_LIMIT128Mmemory_limit
PHP_FPM_MAX_CHILDREN10pm.max_children
PHP_FPM_START_SERVERS2pm.start_servers
PHP_FPM_MIN_SPARE_SERVERS2pm.min_spare_servers
PHP_FPM_MAX_SPARE_SERVERS5pm.max_spare_servers
PHP_FPM_MAX_REQUESTS500pm.max_requests
PHP_FPM_REQUEST_SLOWLOG_TIMEOUT30srequest_slowlog_timeout
PHP_FPM_CATCH_WORKERS_OUTPUT1catch_workers_output
PHP_OPCACHE_ENABLE_CLI1opcache.enable_cli
PHP_OPCACHE_ENABLE1opcache.enable
PHP_OPCACHE_MEMORY_CONSUMPTION128opcache.memory_consumption
PHP_OPCACHE_MAX_ACCELERATED_FILES10000opcache.max_accelerated_files
PHP_OPCACHE_REVALIDATE_FREQ1opcache.revalidate_freq

⁠Exposed Ports

PortDescription
9000php-fpm

⁠Directories

PathDescription
/var/www/htmlwww-root directory.
/dataReserved Nextcloud user data directory.

⁠Input Configration

SourceDestination
/php-in/*.ini/usr/local/etc/php/
/php-fpm-in/*.conf/usr/local/etc/php-fpm.d/

⁠Test

The docker-compose file test.yaml can be used to startup the test containers.

make test | tee log.txt

⁠Optimize php-fpm

find /var/www/html -iname \*.php|wc -l

⁠License

Nextcloud is licensed under the AGPLv3⁠ license.

This docker image is licensed under the MIT⁠ license.

Copyright 2017 Erwin Müller

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Tag summary

Content type

Image

Digest

Size

243.8 MB

Last updated

over 7 years ago

docker pull robobeerun/nextcloud