| Dockerfile location |
Docker image |
Desc |
| eol/centos7_nginx_php70 |
|
CentOS:7.4.1708 + nginx:1.14.2 + PHP 7.0.33-FPM + composer |
| eol/centos7_nginx_php71 |
taobig/nginx-php7-fpm:7.1 |
CentOS:7.5.1804 + nginx:1.16.1 + PHP 7.1.33-FPM + composer |
| eol/ubuntu_nginx_php72 |
taobig/nginx-php72 |
Ubuntu:18.04 + nginx:1.16.1 + PHP 7.2.21-FPM + composer + crontab + vim |
| eol/ubuntu_nginx_php73 |
taobig/nginx-php73 |
Ubuntu:18.04 + nginx:1.16.1 + PHP 7.3.28-FPM + composer + vim |
| eol/ubuntu_nginx_php74 |
taobig/nginx-php74 |
Ubuntu:18.04 + nginx:1.16.1 + PHP 7.4.33-FPM |
| eol/ubuntu_nginx_php74_focal_fossa |
taobig/nginx-php74:focal_fossa |
Ubuntu:20.04 + nginx:1.18.0 + PHP 7.4.33-FPM |
| eol/ubuntu_nginx_php80 |
taobig/nginx-php80 |
Ubuntu:20.04 + nginx:1.20.2 + PHP 8.0.30-FPM |
| eol/ubuntu_nginx_php81 |
taobig/nginx-php81 |
Ubuntu:20.04 + nginx:1.22 + PHP 8.1-FPM |
| ubuntu_nginx_php82 |
taobig/nginx-php82 |
Ubuntu:20.04 + nginx:1.24 + PHP 8.2-FPM |
| ubuntu_nginx_php83 |
taobig/nginx-php83 |
Ubuntu:20.04 + nginx:1.26 + PHP 8.3-FPM |
| ubuntu_nginx_php84 |
taobig/nginx-php84 |
Ubuntu:22.04 + nginx:1.30.4 + PHP 8.4-FPM |
docker run --name ${container_name} -p ${expose_port}:80 -v ${custom_nginx_conf_dir}:/etc/nginx/conf.d -v ${code_dir}:/app -d taobig/nginx-php74
** default document root:/app/web **
Image's default timezone is Asia/Shanghai
nginx log is in /var/log/nginx
php.ini come from php.ini-production
php.ini settings:
- date.timezone = Asia/Shanghai
- session.use_strict_mode = 1
- session.cookie_httponly = 1
- memory_limit = 128M
- expose_php = Off
- upload_max_filesize = 100M
- max_execution_time = 60
- request_terminate_timeout = 120
- ...
cd ubuntu_nginx_php82
docker build --pull -t taobig/nginx-php82 .
docker run --rm --name php82 -d taobig/nginx-php82
cd ubuntu_nginx_php84 && ./build.sh
docker run --rm --name php84 -d taobig/nginx-php84