mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
php-fpm.conf, renamed server to nginx
This commit is contained in:
@@ -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
1
config/php/php-fpm.conf
Normal file
@@ -0,0 +1 @@
|
||||
pm.max_children = 10
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user