mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-16 05:41:49 +02:00
Spotbweb by @woutercoppens
This commit is contained in:
12
spotweb/rootfs/etc/php8/conf.d/zzz_custom_opcache.ini
Normal file
12
spotweb/rootfs/etc/php8/conf.d/zzz_custom_opcache.ini
Normal file
@@ -0,0 +1,12 @@
|
||||
[opcache]
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
; 0 means it will check on every request
|
||||
; 0 is irrelevant if opcache.validate_timestamps=0 which is desirable in production
|
||||
opcache.revalidate_freq=0
|
||||
opcache.validate_timestamps=1
|
||||
opcache.max_accelerated_files=10000
|
||||
opcache.memory_consumption=192
|
||||
opcache.max_wasted_percentage=10
|
||||
opcache.interned_strings_buffer=16
|
||||
opcache.fast_shutdown=1
|
||||
6
spotweb/rootfs/etc/php8/conf.d/zzz_custom_other.ini
Normal file
6
spotweb/rootfs/etc/php8/conf.d/zzz_custom_other.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
; Make sure _ENV is populated to use it in spotweb database settings
|
||||
variables_order = "EGPCS"
|
||||
|
||||
date.timezone = Europe/Amsterdam
|
||||
|
||||
memory_limit = 1G
|
||||
18
spotweb/rootfs/etc/php8/php-fpm.d/www.conf
Normal file
18
spotweb/rootfs/etc/php8/php-fpm.d/www.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
[www]
|
||||
user = nginx
|
||||
group = nginx
|
||||
|
||||
listen = 127.0.0.1:9000
|
||||
|
||||
pm = dynamic
|
||||
pm.max_children = 50
|
||||
pm.start_servers = 20
|
||||
pm.min_spare_servers = 5
|
||||
pm.max_spare_servers = 20
|
||||
pm.max_requests = 1024
|
||||
;pm.status_path = /status
|
||||
|
||||
; if we send this to /proc/self/fd/1, it never appears
|
||||
access.log = /proc/self/fd/1
|
||||
|
||||
clear_env = no
|
||||
Reference in New Issue
Block a user