Sign inSign up

felipecwb/php-nginx

By felipecwb

•Updated over 7 years ago

dead simple php-fpm with nginx.

Image
0

123

felipecwb/php-nginx repository overview

⁠PHP-FPM & Nginx

  • alpine 3.8
  • php-fpm 7.2.13-r0
  • nginx 1.14.2-r0
⁠Example run:
docker run \
    -it --rm \
    -p 80:80 \
    -v $PWD:/home/project \
    felipecwb/php-nginx:latest
  • you must have a file public/index.php where is the index of nginx and file not found redirection.
  • nginx and php-fpm runs inside user project.
  • highly recommend run/exec commands with: --user=project
  • output logs from nginx & php-fpm writes to stdout & stderr

Tag summary

Content type

Image

Digest

Size

25.3 MB

Last updated

over 7 years ago

docker pull felipecwb/php-nginx