mirror of
https://github.com/casjaysdevdocker/ampache
synced 2026-05-19 02:47:55 -04:00
🗃️ Removed the .claude/settings.local.json 🗃️
Some checks failed
ampache / release-ampache (push) Has been cancelled
Some checks failed
ampache / release-ampache (push) Has been cancelled
Dockerfile .env.scripts .gitattributes .gitea/ .gitignore LICENSE.md README.md rootfs/root/docker/setup/04-users.sh rootfs/root/docker/setup/05-custom.sh rootfs/tmp/ rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/bin/ rootfs/usr/local/etc/docker/init.d/
This commit is contained in:
12
rootfs/tmp/etc/php84/php-fpm.conf
Normal file
12
rootfs/tmp/etc/php84/php-fpm.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
; casjaysdevdocker/ampache - PHP-FPM 8.4 global config
|
||||
|
||||
[global]
|
||||
pid = /run/php-fpm/php-fpm.pid
|
||||
error_log = /data/logs/php-fpm/error.log
|
||||
log_level = notice
|
||||
emergency_restart_threshold = 0
|
||||
emergency_restart_interval = 0
|
||||
process_control_timeout = 0
|
||||
daemonize = no
|
||||
|
||||
include = /etc/php84/php-fpm.d/*.conf
|
||||
39
rootfs/tmp/etc/php84/php-fpm.d/www.conf
Normal file
39
rootfs/tmp/etc/php84/php-fpm.d/www.conf
Normal file
@@ -0,0 +1,39 @@
|
||||
; casjaysdevdocker/ampache - PHP-FPM www pool
|
||||
|
||||
[www]
|
||||
user = apache
|
||||
group = apache
|
||||
|
||||
listen = /run/php-fpm/php-fpm.sock
|
||||
listen.owner = apache
|
||||
listen.group = apache
|
||||
listen.mode = 0660
|
||||
listen.backlog = 511
|
||||
|
||||
pm = dynamic
|
||||
pm.max_children = 20
|
||||
pm.start_servers = 4
|
||||
pm.min_spare_servers = 2
|
||||
pm.max_spare_servers = 8
|
||||
pm.max_requests = 500
|
||||
pm.process_idle_timeout = 30s
|
||||
pm.status_path = /status
|
||||
ping.path = /ping
|
||||
ping.response = pong
|
||||
|
||||
access.log = /data/logs/php-fpm/access.log
|
||||
slowlog = /data/logs/php-fpm/slow.log
|
||||
request_slowlog_timeout = 5s
|
||||
request_terminate_timeout = 300s
|
||||
|
||||
clear_env = no
|
||||
catch_workers_output = yes
|
||||
decorate_workers_output = no
|
||||
|
||||
php_admin_value[error_log] = /data/logs/php-fpm/error.log
|
||||
php_admin_flag[log_errors] = on
|
||||
php_admin_value[memory_limit] = 512M
|
||||
php_admin_value[upload_max_filesize] = 256M
|
||||
php_admin_value[post_max_size] = 256M
|
||||
php_admin_value[max_execution_time] = 300
|
||||
php_admin_value[session.save_path] = /tmp/php-sessions
|
||||
80
rootfs/tmp/etc/php84/php.ini
Normal file
80
rootfs/tmp/etc/php84/php.ini
Normal file
@@ -0,0 +1,80 @@
|
||||
; casjaysdevdocker/ampache - PHP 8.4 production tunings for Ampache
|
||||
|
||||
[PHP]
|
||||
engine = On
|
||||
short_open_tag = Off
|
||||
precision = 14
|
||||
output_buffering = 4096
|
||||
zlib.output_compression = Off
|
||||
implicit_flush = Off
|
||||
serialize_precision = -1
|
||||
disable_functions =
|
||||
disable_classes =
|
||||
zend.enable_gc = On
|
||||
expose_php = Off
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
max_input_vars = 5000
|
||||
memory_limit = 512M
|
||||
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
display_errors = Off
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
log_errors_max_len = 1024
|
||||
ignore_repeated_errors = Off
|
||||
ignore_repeated_source = Off
|
||||
report_memleaks = On
|
||||
html_errors = On
|
||||
error_log = /data/logs/php-fpm/error.log
|
||||
|
||||
variables_order = "GPCS"
|
||||
request_order = "GP"
|
||||
register_argc_argv = Off
|
||||
auto_globals_jit = On
|
||||
|
||||
post_max_size = 256M
|
||||
upload_max_filesize = 256M
|
||||
max_file_uploads = 20
|
||||
|
||||
default_socket_timeout = 60
|
||||
allow_url_fopen = On
|
||||
allow_url_include = Off
|
||||
|
||||
cgi.fix_pathinfo = 0
|
||||
|
||||
[Date]
|
||||
date.timezone = REPLACE_TZ
|
||||
|
||||
[Session]
|
||||
session.save_handler = files
|
||||
session.save_path = "/tmp/php-sessions"
|
||||
session.use_strict_mode = 0
|
||||
session.use_cookies = 1
|
||||
session.use_only_cookies = 1
|
||||
session.name = AMPACHE_SESSION
|
||||
session.auto_start = 0
|
||||
session.cookie_lifetime = 0
|
||||
session.cookie_path = /
|
||||
session.cookie_secure = Off
|
||||
session.cookie_httponly = On
|
||||
session.cookie_samesite = Lax
|
||||
session.gc_probability = 1
|
||||
session.gc_divisor = 1000
|
||||
session.gc_maxlifetime = 86400
|
||||
|
||||
[opcache]
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 0
|
||||
opcache.memory_consumption = 256
|
||||
opcache.interned_strings_buffer = 16
|
||||
opcache.max_accelerated_files = 20000
|
||||
opcache.revalidate_freq = 60
|
||||
opcache.fast_shutdown = 1
|
||||
opcache.validate_timestamps = 1
|
||||
|
||||
[curl]
|
||||
curl.cainfo = /etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
[openssl]
|
||||
openssl.cafile = /etc/ssl/certs/ca-certificates.crt
|
||||
Reference in New Issue
Block a user