Docker image of PHP 7 with fpm and nginx in alpine linux
10K+
Docker image of PHP 7 with fpm and nginx in alpine linux
| Docker Tag | Git Release | Nginx Version | PHP Version | OS Version |
|---|---|---|---|---|
| latest | Master Branch | 1.14.2 | 7.3.7 | Alpine 3.9 |
| oci8 | Master Branch | 1.14.2 | 7.3.7 | Debian 9 |
| <= 1.0.7 | Master Branch | 1.14.2 | 7.3.4 | Alpine 3.9 |
| <= 1.0.7-oci8 | Master Branch | 1.14.2 | 7.3.4 | Debian 9 |
To pull from docker hub:
docker pull paliari/php-fpm-nginx:latest
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
| Name | Type | Default | Info |
|---|---|---|---|
| WEBROOT | string | /var/www/html | Set custom webroot |
| PHP_MEM_LIMIT | integer | 2048 | Define PHP memory limit in MB |
| PHP_POST_MAX_SIZE | integer | 100 | Define PHP post max size in MB |
| PHP_UPLOAD_MAX_FILESIZE | integer | 100 | Define PHP upload max filesize in MB |
| TIMEZONE | string | UTC | Set custom timezone |
| SET_PHP_INI_ENV | enum(development, production) | If defined, create /usr/local/etc/php/php.ini (recommended in production) | |
| CACHE | integer | 1 | Enable or disable opcache |
# pull lasted
docker pull paliari/php-fpm-nginx
# or custom version
docker pull paliari/php-fpm-nginx:1.0.0
Image with PHP ext oci8 configured.
# pull lasted
docker pull paliari/php-fpm-nginx:oci8
# or custom version
docker pull paliari/php-fpm-nginx:1.0.0-oci8
Content type
Image
Digest
Size
185.3 MB
Last updated
about 6 years ago
docker pull paliari/php-fpm-nginx