php-nginx

webdevops/php-nginx Docker Image

自动构建

带有PHP-FPM的Nginx

293 次收藏下载次数: 0状态:自动构建维护者:webdevops仓库类型:镜像最近更新:
下载命令
点击查看

webdevops/php-nginx

https://hub.docker.com/r/webdevops/php plus Nginx. Nginx serves /app and passes PHP requests to PHP-FPM in the same container. Ports: 80 (HTTP) and 443 (HTTPS with a self-signed certificate).

Always use one of the tags below: an image without a tag (latest) and the alpine tag are old builds from 2019 and 2020 that get no updates, see https://github.com/webdevops/Dockerfile/blob/master/docs/known-issues.md#latest-and-alpine-tags-of-the-php-images.

Rebuilt every night for linux/amd64 and linux/arm64.

Tags

TagBased on
8.6Debian 13
8.5, 8.4, 8.3, 8.2Debian 12
8.6-alpine, 8.5-alpine, 8.4-alpine, 8.3-alpine, 8.2-alpineAlpine

Tags that are not listed here are no longer built and get no updates.

Quick start

yaml
services:
  app:
    image: webdevops/php-nginx:8.5
    ports:
      - "8080:80"
    environment:
      WEB_DOCUMENT_ROOT: /app/public
    volumes:
      - ./:/app

Documentation

  • https://github.com/webdevops/Dockerfile/blob/master/docs/images/php-nginx.md
  • https://github.com/webdevops/Dockerfile/blob/master/docs/environment-variables.md
  • https://github.com/webdevops/Dockerfile/blob/master/docs/customization.md
  • https://github.com/webdevops/Dockerfile/blob/master/docs/known-issues.md

Source and issues: https://github.com/webdevops/Dockerfile

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 php-nginx 镜像标签

docker pull docker.xuanyuan.run/webdevops/php-nginx:<标签>

DockerHub 原生拉取命令

docker pull webdevops/php-nginx:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告