Volver al ranking

webdevops/Dockerfile

Shellwebdevops.io/projects/dockerfiles/

:package: Dockerfiles from WebDevOps for PHP, Apache and Nginx

dockerphpapache-httpdnginxliquibasedockerfilesdocker-testingalpinedockerfiledocker-imagewebdevopsphp-fpm
Crecimiento de estrellas
Estrellas
1.7k
Forks
489
Crecimiento semanal
Issues
2
5001k1.5k
oct 2015may 2019dic 2022jul 2026
README

PHP docker images with super powers 🚀

We provide images which extend the official PHP-Images. We add additional stuff like:

  • almost any PHP module preinstalled
  • configuration based on ENV variables
  • run multiple services (like php-fpm and nginx) with supervisord

GitHub issuesGitHub forksGitHub starsGitHub license pipeline status

Automated build and test running on Gitlab CI (GitLab.com CI custom Google Cloud runner) sponsored by Onedrop GmbH & Co. KG.

Docker layout

Communication and support

Or write an issue in our GitHub repository.

Or join our discord https://discord.gg/gnYPfZhX

Build process

File generation

The general build process is currently a mixture of python jinja2 legacy and PHP.

First we build the files inside the docker directory using this command:

docker run --rm -ti -v $PWD:/app -w /app webdevops/dockerfile-build-env make provision

It will use the Jinja2 templates inside of the template directory and the config files from the provisioning directory.

The files in the docker directory are never modified manually

This will be replaced with PHP twig templates in the future to streamline everything.

Building in CI

We generate a multi stage Gitlab-CI configuration using PHP:

docker run --rm -ti -v $PWD:/app -w /app/ci webdevops/php:8.4-alpine composer install
docker run --rm -ti -v $PWD:/app -w /app webdevops/php:8.4-alpine ci/console github:generate

Gitlab CI builds every image independent and runs serverspec and structure tests on every image before pushing them to the registry.

Documentation

As in many projects the documentation is kind of up to date 😅.

Debian PHP

The following images which are currently supported are based on php:{VER}-fpm-buster.

  • webdevops/php:8.1
  • webdevops/php:8.2
  • webdevops/php:8.3
  • webdevops/php:8.4
  • webdevops/php:8.5
  • webdevops/php-dev:8.1
  • webdevops/php-dev:8.2
  • webdevops/php-dev:8.3
  • webdevops/php-dev:8.4
  • webdevops/php-dev:8.5
  • webdevops/php-apache:8.1
  • webdevops/php-apache:8.2
  • webdevops/php-apache:8.3
  • webdevops/php-apache:8.4
  • webdevops/php-apache:8.5
  • webdevops/php-apache-dev:8.1
  • webdevops/php-apache-dev:8.2
  • webdevops/php-apache-dev:8.3
  • webdevops/php-apache-dev:8.4
  • webdevops/php-apache-dev:8.5
  • webdevops/php-nginx:8.1
  • webdevops/php-nginx:8.2
  • webdevops/php-nginx:8.3
  • webdevops/php-nginx:8.4
  • webdevops/php-nginx:8.5
  • webdevops/php-nginx-dev:8.1
  • webdevops/php-nginx-dev:8.2
  • webdevops/php-nginx-dev:8.3
  • webdevops/php-nginx-dev:8.4
  • webdevops/php-nginx-dev:8.5

Alpine PHP

The following images which are currently supported are based on php:{VER}-fpm-alpine.

  • webdevops/php:8.1-alpine
  • webdevops/php:8.2-alpine
  • webdevops/php:8.3-alpine
  • webdevops/php:8.4-alpine
  • webdevops/php:8.5-alpine
  • webdevops/php-dev:8.1-alpine
  • webdevops/php-dev:8.2-alpine
  • webdevops/php-dev:8.3-alpine
  • webdevops/php-dev:8.4-alpine
  • webdevops/php-dev:8.5-alpine
  • webdevops/php-apache:8.1-alpine
  • webdevops/php-apache:8.2-alpine
  • webdevops/php-apache:8.3-alpine
  • webdevops/php-apache:8.4-alpine
  • webdevops/php-apache:8.5-alpine
  • webdevops/php-apache-dev:8.1-alpine
  • webdevops/php-apache-dev:8.2-alpine
  • webdevops/php-apache-dev:8.3-alpine
  • webdevops/php-apache-dev:8.4-alpine
  • webdevops/php-apache-dev:8.5-alpine
  • webdevops/php-nginx:8.1-alpine
  • webdevops/php-nginx:8.2-alpine
  • webdevops/php-nginx:8.3-alpine
  • webdevops/php-nginx:8.4-alpine
  • webdevops/php-nginx:8.5-alpine
  • webdevops/php-nginx-dev:8.1-alpine
  • webdevops/php-nginx-dev:8.2-alpine
  • webdevops/php-nginx-dev:8.3-alpine
  • webdevops/php-nginx-dev:8.4-alpine
  • webdevops/php-nginx-dev:8.5-alpine
Repositorios relacionados
louislam/uptime-kuma

A fancy self-hosted monitoring tool

JavaScriptnpmMIT Licenseuptimemonitoring
uptime.kuma.pet
89.4k8.1k
Stirling-Tools/Stirling-PDF

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

JavaMavenOtherdockerjava
stirling.com
87.7k7.8k
macrozheng/mall

mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于Spring Boot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

JavaMavenApache License 2.0spring-bootspring-security
macrozheng.com/admin/
84.3k29.8k
bregman-arie/devops-exercises

Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL, Azure, GCP, DNS, Elastic, Network, Virtualization. DevOps Interview Questions

PythonPyPIOtherdevopsaws
83.3k19.8k
netdata/netdata

The fastest path to AI-powered full stack observability, even for lean teams.

GoGo ModulesGNU General Public License v3.0monitoringdocker
netdata.cloud
79.8k6.5k
moby/moby

The Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

GoGo ModulesApache License 2.0dockercontainers
mobyproject.org
71.9k19k
traefik/traefik

The Cloud Native Application Proxy

GoGo ModulesMIT Licensemicroservicedocker
traefik.io
64.1k6.1k
dani-garcia/vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs

Rustcrates.ioGNU Affero General Public License v3.0vaultwardenbitwarden
64k3k
usememos/memos

Open-source, self-hosted note-taking tool built for quick capture. Markdown-native, lightweight, and fully yours.

GoGo ModulesMIT Licensereactgo
usememos.com
61.7k4.6k
sansan0/TrendRadar

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

PythonPyPIGNU General Public License v3.0data-analysispython
trendradar.sandev.cc
60.8k24.8k
coollabsio/coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 280+ one-click services on your own servers.

PHPPackagistApache License 2.0nodejsmysql
coolify.io
59.2k5.1k
appwrite/appwrite

Appwrite® - complete cloud infrastructure for your web, mobile and AI apps. Including Auth, Databases, Storage, Functions, Messaging, Hosting, Realtime and more

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licenseappwritedocker
appwrite.io
56.6k5.6k