Sign inSign up

paliari/php-fpm-nginx

By paliari

Updated about 6 years ago

Docker image of PHP 7 with fpm and nginx in alpine linux

Image
0

10K+

paliari/php-fpm-nginx repository overview

docker-php-fpm-nginx

Docker image of PHP 7 with fpm and nginx in alpine linux

Versioning
Docker TagGit ReleaseNginx VersionPHP VersionOS Version
latestMaster Branch1.14.27.3.7Alpine 3.9
oci8Master Branch1.14.27.3.7Debian 9
<= 1.0.7Master Branch1.14.27.3.4Alpine 3.9
<= 1.0.7-oci8Master Branch1.14.27.3.4Debian 9

Quick Start

To pull from docker hub:

docker pull paliari/php-fpm-nginx:latest
Running

To simply run the container:

sudo docker run -d paliari/php-fpm-nginx

sduo docker run -p 80:80 -d -e 'WEBROOT=/var/www/html/public' -e 'SET_PHP_INI_ENV=production' -e 'PHP_MEM_LIMIT=20' -e 'PHP_POST_MAX_SIZE=10' -e 'PHP_UPLOAD_MAX_FILESIZE=10' paliari/php-fpm-nginx:latest
Environments custom
NameTypeDefaultInfo
WEBROOTstring/var/www/htmlSet custom webroot
PHP_MEM_LIMITinteger2048Define PHP memory limit in MB
PHP_POST_MAX_SIZEinteger100Define PHP post max size in MB
PHP_UPLOAD_MAX_FILESIZEinteger100Define PHP upload max filesize in MB
TIMEZONEstringUTCSet custom timezone
SET_PHP_INI_ENVenum(development, production)If defined, create /usr/local/etc/php/php.ini (recommended in production)
CACHEinteger1Enable or disable opcache

Tags

latest

Dockerfile

# pull lasted
docker pull paliari/php-fpm-nginx
# or custom version
docker pull paliari/php-fpm-nginx:1.0.0
oci8

Image with PHP ext oci8 configured.

Dockerfile

# pull lasted
docker pull paliari/php-fpm-nginx:oci8
# or custom version
docker pull paliari/php-fpm-nginx:1.0.0-oci8

Examples

Examples

Author

Tag summary

Content type

Image

Digest

Size

185.3 MB

Last updated

about 6 years ago

docker pull paliari/php-fpm-nginx