Sign inSign up

turkeryildirim/nginx

By turkeryildirim

•Updated about 8 years ago

nginx web server with php

Image
1

174

turkeryildirim/nginx repository overview

This image is built on alpine linux that includes nginx 1.14.0 web server and php 7.2.8 (xdebug enabled) with SSL support. Tested with Docker version 18.06.0-ce on linux.

How to run: docker run -d --name my_nginx_with_php -p 80:80 -p 443:443 -v /var/www/localhost/htdocs:/var/www/localhost/htdocs turkeryildirim/nginx

You could get docker file and configs that are used in container from https://github.com/turkeryildirim/docker-nginx⁠

After your container becomes up & running state, you could access nginx web server on port 80 and 443. e.g. http://localhost/⁠ and https://localhost/⁠

Xdebug is set to listen on port 9001 and checks for PHPSTORM idekey by default so be sure that you make correct setup for your favorite IDE.

Activated PHP modules php7-openssl php7-fpm php7-mbstring php7-xmlrpc php7-xmlreader php7-session php7-gd php7-gettext php7-json php7-xml php7-xmlreader php7-curl php7-xdebug php7-zip php7-mcrypt php7-sockets php7-tidy php7-dom php7-soap php7-yaml php7-simplexml php7-calendar php7-memcached php7-redis php7-mongodb php7-pgsql php7-sqlite3 php7-mysqlnd php7-mysqli php7-pdo php7-pdo_pgsql php7-pdo_sqlite php7-pdo_mysql php7-imagick php7-oauth php7-tokenizer php7-fileinfo

Tag summary

Content type

Image

Digest

Size

81.8 MB

Last updated

about 8 years ago

docker pull turkeryildirim/nginx