Created
September 20, 2015 14:29
-
-
Save joestrong/445557f34975ba1ad1b5 to your computer and use it in GitHub Desktop.
Simple Nginx & PHP-FPM setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -tid -v /home/user/webdir:/usr/share/nginx/html --name php7fpm php:7-fpm | |
docker run -tidp 127.0.0.1:80:80 -v /home/user/webdir:/usr/share/nginx/html -v /home/user/webdir/nginx-host.conf:/etc/nginx/conf.d/default.conf --link php7fpm --name webapp nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment