Creating Docker container for PHP scripts

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • docker-images-php

    A set of PHP Docker images

  • caddy-docker

    Source for the official Caddy v2 Docker Image

  • Has an official docker image here: https://hub.docker.com/_/caddy

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Caddy

    Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

  • I'm biased (cause I contribute heavily to it) but I think Caddy is a better option than both. Works similarly to nginx with php-fpm, but you get automatic HTTPS, and your config can be as short as 4 lines:

  • laravel-websockets-example

    Quick example of a docker stack for laravel-websockets

  • I wrote up my own version of what a docker stack looks like as an example repo a few months ago, I wanted to give Laravel Sail a spin but I found that it really wasn't that good; no path to transitioning to running on prod with that setup, no easy local HTTPS support, etc. Here it is: https://github.com/francislavoie/laravel-websockets-example

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts