Jetsung.com

守望辰峰

收录我个人正在开发、已停止与已完成的全部项目。

docker-nginx-php · Nginx + PHP 容器镜像

毕业项目 起始于 2024-01 · Shell

简介

Nginx and PHP for Docker:开箱即用的 Nginx + PHP 一体化容器镜像。

  • 版本矩阵:PHP 8.2 / 8.3 / 8.4 / 8.5 对应 Nginx 1.31.x,基础镜像 Ubuntu 24.04,按版本提供多个 Docker 标签
  • 内置 50+ 扩展:redis、gd、sodium、intl、soap、pdo_mysql / pgsql / sqlite 等开箱即用;extensions/ 提供 imagick、imap、memcached、opcache、sqlsrv 等定制扩展安装脚本(已迁移至 PIE 体系)
  • Supervisor 进程管理:单容器同时托管 nginx 与 php-fpm,supervisorctl 可查看状态、单独启停
  • 多镜像仓库:Docker Hub jetsung/nginx-php 与 GHCR ghcr.io/jetsung/nginx-php
  • 开箱即用:docker run 一行启动,附 docker-compose 示例、vhost 虚拟站点配置与 www 站点目录
  • 可定制构建:--build-arg 指定 PHP / Nginx 版本自建镜像

技术栈

DockerNginxPHPSupervisor

时间线

链接与更新记录

文档:https://nginx-php.ooos.top/
MyCode:https://git.jetsung.com/jetsung/docker-nginx-php
AtomGit:https://atomgit.com/jetsung/docker-nginx-php
GitHub:https://github.com/jetsung/docker-nginx-php

← 返回列表

↑