Docker setup for nginx + fastcgi-daemon2
$DOCKER_MACHINE_IP:8000-nginxstarted$DOCKER_MACHINE_IP:8000/test- yourfastcgi-daemonwill listen on this URL$DOCKER_MACHINE_IP:8001- monitoring port for fastcgi-daemon
/tmp/fastcgi/fastcgi_daemon.sock-socketfornginx<->fastcgi-daemoninteractionfastcgi_data/default_nginx_site.conf-nginxdefault site configurationfastcgi.conf-fastcgi-daemonconfiguration
src/- folder with your project's sources (contains sampleMakefile+.cpp)logs/-nginxlogs
To use this docker setup via make you should have the following commands in your $PATH:
dockerdocker-composemake
Starts up docker via docker-compose with nginx + fastcgi-daemon and built version of your fastcgi project
make
make restart
make build
make clean