Public | Automated Build

Last pushed: 2 years ago
Short Description
Trying to make Docker/Nginx/FPM play nicely.
Full Description

Docker Nginx

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)

Issues

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:

Build

docker build -t bla/bla .

Or find me on Docker Hub: https://hub.docker.com/r/joerx/docker-nginx/

Run

docker run -it --rm -P joerx/nginx

Sample: Lumen Project

composer create-project --prefer-dist laravel/lumen rainbow-emitter
docker run -it --rm -v $(pwd)/rainbow-emitter:/src -P joerx/nginx
Docker Pull Command
Owner
joerx
Source Repository

Comments (0)