Trying to make Docker/Nginx/FPM play nicely.
244
Yet another Docker/Nginx/FPM image. FPM and Nginx are in the same container for simplicity. Trying to make sure all output is directed to stdout (to be 12-factor compliant)
Nothing coming out of PHP-land has ever been facepalm free - e.g. FPM's configuration-resistant habit of prefixing a ton of crap to each workers output:
[15-Mar-2016 10:32:44] WARNING: [pool www] child 11 said into stderr: "not found: /bla"
The part in quotes is the actual output generated by the app :unamused:
docker build -t bla/bla .
Or find me on Docker Hub: https://hub.docker.com/r/joerx/docker-nginx/
docker run -it --rm -P joerx/nginx
composer create-project --prefer-dist laravel/lumen rainbow-emitter
docker run -it --rm -v $(pwd)/rainbow-emitter:/src -P joerx/nginx
Content type
Image
Digest
Size
6.4 MB
Last updated
over 10 years ago
docker pull joerx/docker-nginx