Skip to content

🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!

License

Notifications You must be signed in to change notification settings

RadeJR/docker-php

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.4-cli
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.4-cli-alpine
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.4-fpm
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.4-fpm-alpine
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.4-fpm-apache
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.4-fpm-nginx
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.4-fpm-nginx-alpine
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.4-unit
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

  • Website overview of the product.
  • Docs for a deep-dive on how to use the product.
  • Discord for friendly support from the community and the team.
  • GitHub for source code, bug reports, and project management.
  • Get Professional Help - Get video + screen-sharing help directly from the core contributors.

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

Black Level Sponsors

Sevalla

Bronze Sponsors

No bronze sponsors yet. Become a sponsor β†’

Individual Supporters

GeekDougleΒ Β JQuiltyΒ Β MaltMethodDevΒ Β 

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:

  • πŸ“– Blog - Get the latest guides and free courses on all things web/mobile development.
  • πŸ™‹ Community - Get friendly help from our community members.
  • πŸ€΅β€β™‚οΈ Get Professional Help - Get video + screen-sharing support from the core contributors.
  • πŸ’» GitHub - Check out our other open source projects.
  • πŸ“« Newsletter - Skip the algorithms and get quality content right to your inbox.
  • πŸ₯ Twitter - You can also follow Dan and Jay.
  • ❀️ Sponsor Us - Please consider sponsoring us so we can create more helpful resources.

Our products

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

πŸ“š Books

πŸ› οΈ Software-as-a-Service

  • Bugflow: Get visual bug reports directly in GitHub, GitLab, and more.
  • SelfHost Pro: Connect Stripe or Lemonsqueezy to a private docker registry for self-hosted apps.

🌍 Open Source

  • AmplitudeJS: Open-source HTML5 & JavaScript Web Audio Library.
  • Spin: Laravel Sail alternative for running Docker from development β†’ production.
  • Financial Freedom: Open source alternative to Mint, YNAB, & Monarch Money.

About

🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 68.8%
  • Dockerfile 31.2%