mirror of
https://github.com/projectsend/projectsend.git
synced 2026-09-16 16:45:07 +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.
29 lines
1.1 KiB
INI
29 lines
1.1 KiB
INI
; Production PHP settings for the official image. Diverges from
|
|
; docker/app/php.ini in two places, both because the code is baked into the
|
|
; image rather than bind-mounted from a developer's working tree.
|
|
|
|
; These cover a single upload chunk (Uppy resumable) and metadata requests,
|
|
; not the maximum file size — raising them does not let users upload larger
|
|
; files. Keep in step with client_max_body_size in nginx.conf.
|
|
upload_max_filesize = 100M
|
|
post_max_size = 100M
|
|
memory_limit = 256M
|
|
|
|
opcache.enable = 1
|
|
; The application never changes underneath a running container — a new
|
|
; version means a new image — so opcache has no reason to stat every file
|
|
; on every request. This is the single biggest difference from the dev
|
|
; config, where validate_timestamps=1 is what makes edits show up.
|
|
opcache.validate_timestamps = 0
|
|
opcache.max_accelerated_files = 20000
|
|
opcache.memory_consumption = 192
|
|
opcache.interned_strings_buffer = 16
|
|
|
|
; Nothing should be echoing errors to a browser in production; the log goes
|
|
; to stderr, which supervisord forwards to `docker logs`.
|
|
display_errors = Off
|
|
log_errors = On
|
|
error_log = /dev/stderr
|
|
|
|
expose_php = Off
|