php-fpm.conf, renamed server to nginx

This commit is contained in:
Benjamin Brummer
2025-01-12 14:03:31 +00:00
parent cbaf961012
commit 9b63fc3fbc
3 changed files with 3 additions and 19 deletions

View File

@@ -1,18 +0,0 @@
session.auto_start = Off
short_open_tag = Off
error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT & ~E_DEPRECATED
; opcache.enable_cli=1
; opcache.fast_shutdown=1
; opcache.memory_consumption=256
; opcache.interned_strings_buffer=8
; opcache.max_accelerated_files=4000
; opcache.revalidate_freq=60
; # http://symfony.com/doc/current/performance.html
; realpath_cache_size = 4096K
; realpath_cache_ttl = 600
memory_limit = 2G
post_max_size = 60M
upload_max_filesize = 50M

1
config/php/php-fpm.conf Normal file
View File

@@ -0,0 +1 @@
pm.max_children = 10

View File

@@ -1,5 +1,5 @@
services:
server:
nginx:
image: nginx
restart: always
env_file: env
@@ -31,6 +31,7 @@ services:
- ./docker/app/public:/var/www/app/public:rw,delegated
- ./docker/app/storage:/var/www/app/storage:rw,delegated
- ./config/php/php.ini:/usr/local/etc/php/conf.d/invoiceninja.ini
- ./config/php/php-fpm.conf:/usr/local/etc/php-fpm.d/invoiceninja.conf
depends_on:
- db