A modern, high-performance PHP webserver Docker image built on FrankenPHP Used in E-Dune infra.
10K+
A modern, high-performance PHP webserver Docker image built on FrankenPHP
docker run -v ./www:/www -p 8080:80 semhoun/webserver
services:
webserver:
image: semhoun/webserver
environment:
SERVER_NAME: "www.example.com"
volumes:
- ./www/:/www/
ports:
- "8080:80"
| Variable | Description | Default |
|---|---|---|
SERVER_NAME | Website domain name | :80 |
DEBUG_MODE | Enable PHP debug mode (true/false) | false |
ENABLE_LETSENCRYPT | Enable automatic HTTPS | false |
ACME_EMAIL | Email for Let's Encrypt registration | - |
OTEL_EXPORTER_OTLP_ENDPOINT | OpenTelemetry collector endpoint | - |
QUEUE_WORKERS | Number of queue workers | 2 |
| Path | Description |
|---|---|
/www | Website files (auto-detects /www/public as document root) |
This image is based on:
Multiple PHP versions are available via different branches/tags:
| PHP Version | Branch | Tags |
|---|---|---|
| 8.5 | main | 8.5.x, latest |
| 8.4 | php-8.4 | 8.5.x |
| 8.2 | php-8.2 | 8.2.x |
| 8.1 | php-8.1 | 8.1.x |
| 8.0 | php-8.0 | 8.0.x |
| 7.4 | php-7.4 | 7.4.x |
| 7.3 | php-7.3 | 7.3.x |
| 7.1 | php-7.1 | 7.1.x |
| 5.6 | php-5.6 | 5.6.x |
git clone https://gitlab.com/semhoun/docker_webserver.git
cd docker_webserver
docker build -t my-webserver .
This project is licensed under the MIT License - see the LICENSE.mdā file for details.
NathanaĆ«l Semhoun - @semhounā
Content type
Image
Digest
sha256:120b1940eā¦
Size
410.3 MB
Last updated
6 months ago
docker pull semhoun/webserver