Sign inSign up

ariadata/larastack

By ariadata

Updated about 1 month ago

Image
0

4.7K

ariadata/larastack repository overview

ariadata/larastack

Multi-arch PHP images for Laravel and general PHP apps — Ubuntu 22.04 + s6-overlay.

Architectures: linux/amd64, linux/arm64

Tags

Versionclifpmfpm-nginxsupervisor
7.4php-7.4-cliphp-7.4-fpmphp-7.4-fpm-nginxphp-7.4-supervisor
8.0php-8.0-cliphp-8.0-fpmphp-8.0-fpm-nginxphp-8.0-supervisor
8.1php-8.1-cliphp-8.1-fpmphp-8.1-fpm-nginxphp-8.1-supervisor
8.2php-8.2-cliphp-8.2-fpmphp-8.2-fpm-nginxphp-8.2-supervisor
8.3php-8.3-cliphp-8.3-fpmphp-8.3-fpm-nginxphp-8.3-supervisor
8.4php-8.4-cliphp-8.4-fpmphp-8.4-fpm-nginxphp-8.4-supervisor
8.5php-8.5-cliphp-8.5-fpmphp-8.5-fpm-nginxphp-8.5-supervisor

Variants

VariantDescription
cliPHP CLI + Composer + common extensions (base for other variants)
fpmPHP-FPM on top of cli (port 9000)
fpm-nginxPHP-FPM + Nginx + Node.js (ports 80, 443, 5173, 8080)
supervisorPHP CLI + Supervisor for queue/workers

Quick start

# Interactive PHP CLI
docker run --rm -it ariadata/larastack:php-8.3-cli

# PHP-FPM
docker run --rm -p 9000:9000 ariadata/larastack:php-8.3-fpm

# Full stack (Nginx + PHP-FPM)
docker run --rm -p 80:80 -v "$PWD:/var/www/html" ariadata/larastack:php-8.3-fpm-nginx

# Supervisor (workers)
docker run --rm ariadata/larastack:php-8.3-supervisor

Replace 8.3 with 7.4, 8.0, 8.1, 8.2, 8.4, or 8.5 as needed.

Notes

  • Entrypoint: s6-overlay /init
  • Default app user: webuser / webgroup (PUID/PGID, default 9999)
  • Workdir: /var/www/html
  • PHP packages from Ondřej Surý PPA

Tag summary

Content type

Image

Digest

sha256:698033f7f

Size

107.9 MB

Last updated

about 1 month ago

docker pull ariadata/larastack:php-8.4-supervisor