HUB
Sign inSign up

renebakx/bojuto-frankenphp-slim

By renebakx

•Updated about 4 hours ago

Minimal FrankenPHP runtime for Drupal >= 10 on Kubernetes, based on DHI Debian Trixie with PHP ZTS.

Image
Web servers
0

2.8K

renebakx/bojuto-frankenphp-slim repository overview

A minimal FrankenPHP base image for Drupal applications on Kubernetes, built on Docker Hardened Images (Debian Trixie) with official PHP ZTS.

Available for AMD64 and ARM64, with PHP 8.4 and 8.5. Includes Composer, common Drupal extensions, s6 supervision, and optional cron scheduling.

The container runs as www-data (UID/GID 33:33). HTTP is served on port 8000, with metrics at 2019/metrics. TLS termination is handled by your ingress or reverse proxy.

⁠Runtime environment variables
VariableDefaultPurpose
WEB_ROOT/Document root relative to /app; use /web to serve /app/web.
MEMORY_LIMIT256MPHP memory limit per request.
UPLOAD_MAX_SIZE25MMaximum size of an uploaded file.
POST_MAX_SIZE40MMaximum total POST request size.
APC_SHM_SIZE16MAPCu shared memory size.
OPCACHE_MEM_SIZE128OPcache memory allocation in MB.

Set these variables in your Kubernetes workload configuration or when starting the container.

⁠Application setup

Add your application under /app in a derived image. Startup scripts can be placed in /bojuto/entrypoints; they run alphabetically before services start. An unhandled script failure stops startup.

Provide /bojuto/crontab to enable cron scheduling within the container. Startup progress and service output are available through container logs.

Tag summary

Content type

Image

Digest

sha256:d50a0365e…

Size

86 MB

Last updated

about 4 hours ago

docker pull renebakx/bojuto-frankenphp-slim:8.6.0