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