1a216faecb
Relates to https://github.com/shaarli/Shaarli/issues/843 Changed: - switch base image from Debian:Jessie to Alpine:3.6 - switch to PHP 7.1 - switch from supervisord to s6 to manage services See: - https://alpinelinux.org/ - https://wiki.alpinelinux.org/wiki/Nginx_with_PHP - http://www.skarnet.org/software/s6/ - http://www.skarnet.org/software/s6/s6-svscan.html - http://www.skarnet.org/software/s6/s6-svc.html - http://www.skarnet.org/software/s6/s6-svstat.html Signed-off-by: VirtualTam <virtualtam@flibidi.net>
16 lines
286 B
Text
16 lines
286 B
Text
[global]
|
|
daemonize = no
|
|
|
|
[www]
|
|
user = nginx
|
|
group = nginx
|
|
listen.owner = nginx
|
|
listen.group = nginx
|
|
catch_workers_output = yes
|
|
listen = /var/run/php-fpm.sock
|
|
pm = dynamic
|
|
pm.max_children = 20
|
|
pm.start_servers = 1
|
|
pm.min_spare_servers = 1
|
|
pm.max_spare_servers = 3
|
|
pm.max_requests = 2048
|