Closed rowdy-fms closed 8 years ago
Thanks for the heads up, if I had known this image was in use I'd have refactored it long ago. I am working on a fix for this now and will be working to shrink the image and clean up a few things over the next couple weeks.
This issue should be fixed
nginx should be run with daemon mode off under Docker, otherwise supervisord keeps thinking the process has terminated, and tries to restart it.
This results in repeated entries in the supervisor log like;
And in the nginx log like:
Although a nginx process is running, supervisor keeps trying to start another one.
A work-around is to modify supervisor-app.conf as follows:
[program:nginx-app] command = /usr/sbin/nginx -g "daemon off;"
This work-around was suggested here: http://stackoverflow.com/questions/33650820/nginx-emerg-bind-to-0-0-0-080-failed-98-address-already-in-use-on-docke/33876214#33876214