php/7.3/stretch/fpm
Luís Cobucci e21810a050
Perform graceful stops on PHP-FPM
The default signal used by docker to stop a container is SIGTERM and
that signal is understood by PHP-FPM as immediate termination.

This means that `php-fpm` won't wait for in-flight requests to finish
before of stopping the workers and main process. This behaviour is quite
undesired for production environments and should be avoided as much as
possible.

This implementation is meant to be extremely simple and only address the
stop signal used when running `docker stop`. `php-fpm` signal choices
are somewhat peculiar (`SIGUSR2` for example) and if we want to "fix"
them we would have to use a tool (e.g.: `dumb-init`).

More info:

 - https://linux.die.net/man/8/php-fpm
 - https://docs.docker.com/engine/reference/builder/#stopsignal
 - https://github.com/Yelp/dumb-init
 - https://github.com/usabilla/php-docker-template/pull/102
2019-04-18 17:20:45 +02:00
..
docker-php-entrypoint Update to 7.3.0 (GA) 2018-12-06 12:26:43 -08:00
docker-php-ext-configure Update to 7.3.0 (GA) 2018-12-06 12:26:43 -08:00
docker-php-ext-enable Remove "--virtual" where it's not providing value (and use "apk del --no-network" consistently) 2019-03-04 16:41:05 -08:00
docker-php-ext-install Remove "--virtual" where it's not providing value (and use "apk del --no-network" consistently) 2019-03-04 16:41:05 -08:00
docker-php-source Update to 7.3.0 (GA) 2018-12-06 12:26:43 -08:00
Dockerfile Perform graceful stops on PHP-FPM 2019-04-18 17:20:45 +02:00