mirror of
https://github.com/projectsend/projectsend.git
synced 2026-09-21 02:53:24 +00:00
6e47d76ba6
Client file sharing, rebuilt from the ground up: a private area per client, resumable uploads, folders, groups and categories, sharing with expiry dates and download limits, comments, file versions, an activity log, a REST API, and sixteen languages. This repository begins here. ProjectSend 2 was developed privately, and that development history is not published — the previous generation remains available, with its own history, at projectsend/legacy. Free software under the GNU General Public License v2, or (at your option) any later version.
27 lines
962 B
Plaintext
27 lines
962 B
Plaintext
; Overrides only — loaded after the base image's www.conf/docker.conf (see
|
|
; /usr/local/etc/php-fpm.d/*.conf) thanks to the zz- prefix it's copied
|
|
; under, same convention the base image itself uses for docker.conf vs
|
|
; zz-docker.conf.
|
|
;
|
|
; `dynamic` rather than the dev config's `ondemand`: an official image runs
|
|
; unattended and should keep a few workers warm rather than paying process
|
|
; startup on the first request after an idle period. The ceiling still
|
|
; matters — nothing else here caps how much RAM the pool can claim, and
|
|
; this image is expected to run on small VPSes.
|
|
[www]
|
|
pm = dynamic
|
|
pm.max_children = 10
|
|
pm.start_servers = 2
|
|
pm.min_spare_servers = 2
|
|
pm.max_spare_servers = 4
|
|
pm.max_requests = 500
|
|
|
|
; php-fpm's master must stay root to fork workers as www-data (it cannot
|
|
; reopen its error_log as non-root at startup); the workers themselves do
|
|
; not.
|
|
user = www-data
|
|
group = www-data
|
|
|
|
catch_workers_output = yes
|
|
decorate_workers_output = no
|