serversideup / docker-php

šŸ³ Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!
https://serversideup.net/open-source/docker-php/
GNU General Public License v3.0
1.65k stars 108 forks source link
docker docker-image laravel nginx php

Docker Images Logo

Build Status License Support us
Docker Hub Pulls Discord

Introduction

serversideup/php is an optimized set of Docker Images for running PHP applications in production. Everything is designed around improving the developer experience with PHP and Docker. Gone are the days of configuring each environment differently, and gone are the days of trying to figure out why your code works in one environment and not the other.

These images are highly optimized to run modern PHP applications, no matter where you want your application to run.

Experience the true difference of using these images vs the other options out there.

Read more about the key differences with these images ā†’

Features
|Production-Ready|Native Health Checks|High Performance| |:---:|:---:|:---:| |Customizable and Flexible|Native CloudFlare Support|Base on Official PHP| |NGINX Unit|Unified Logging|FPM + S6 Overlay|

Usage

This repository creates a number of Docker image variations, allowing you to choose exactly what you need.

Simply use this image name pattern in any of your projects:

serversideup/php:{{version}}-{{variation-name}}

For example... If I wanted to run PHP 8.2 with FPM + NGINX, I would use this image:

serversideup/php:8.2-fpm-nginx

[!NOTE]
All our images are available on Docker Hub and GitHub Packages. šŸ„³

āš™ļø Variation šŸš€ Version
cli Debian Based
serversideup/php:8.3-cli
serversideup/php:8.2-cli
serversideup/php:8.1-cli
serversideup/php:8.0-cli
serversideup/php:7.4-cli
Alpine Based
serversideup/php:8.3-cli-alpine
serversideup/php:8.2-cli-alpine
serversideup/php:8.1-cli-alpine
serversideup/php:8.0-cli-alpine
serversideup/php:7.4-cli-alpine
fpm Debian Based
serversideup/php:8.3-fpm
serversideup/php:8.2-fpm
serversideup/php:8.1-fpm
serversideup/php:8.0-fpm
serversideup/php:7.4-fpm
Alpine Based
serversideup/php:8.3-fpm-alpine
serversideup/php:8.2-fpm-alpine
serversideup/php:8.1-fpm-alpine
serversideup/php:8.0-fpm-alpine
serversideup/php:7.4-fpm-alpine
fpm-apache Debian Based
serversideup/php:8.3-fpm-apache
serversideup/php:8.2-fpm-apache
serversideup/php:8.1-fpm-apache
serversideup/php:8.0-fpm-apache
serversideup/php:7.4-fpm-apache
fpm-nginx Debian Based
serversideup/php:8.3-fpm-nginx
serversideup/php:8.2-fpm-nginx
serversideup/php:8.1-fpm-nginx
serversideup/php:8.0-fpm-nginx
serversideup/php:7.4-fpm-nginx
Alpine Based
serversideup/php:8.3-fpm-nginx-alpine
serversideup/php:8.2-fpm-nginx-alpine
serversideup/php:8.1-fpm-nginx-alpine
serversideup/php:8.0-fpm-nginx-alpine
serversideup/php:7.4-fpm-nginx-alpine
unit Debian Based
serversideup/php:8.3-unit
serversideup/php:8.2-unit
serversideup/php:8.1-unit
serversideup/php:8.0-unit
serversideup/php:7.4-unit

Resources

Contributing

As an open-source project, we strive for transparency and collaboration in our development process. We greatly appreciate any contributions members of our community can provide. Whether you're fixing bugs, proposing features, improving documentation, or spreading awareness - your involvement strengthens the project. Please review our contribution guidelines and code of conduct to understand how we work together respectfully.

Need help getting started? Join our Discord community and we'll help you out!

Our Sponsors

All of our software is free an open to the world. None of this can be brought to you without the financial backing of our sponsors.

Sponsors

Bronze Sponsors

No bronze sponsors yet. Become a sponsor ā†’

Individual Supporters

GeekDougle  JQuilty  

Special thanks

We'd like to specifically thank a few folks for taking the time for being a sound board that deeply influenced the direction of this project.

Please check out all of their work:

About Us

We're Dan and Jay - a two person team with a passion for open source products. We created Server Side Up to help share what we learn.

|
Dan Pastori
|
Jay Rogers
| | ----------------------------- | ------------------------------------------ | |

|

|

Find us at:

Our products

If you appreciate this project, be sure to check out our other projects.

šŸ“š Books

šŸ› ļø Software-as-a-Service

šŸŒ Open Source