Docker Repository - bfren ecosystem
Nginx plus PHP (7.4, 8.0, 8.1, 8.2 and 8.3) - no SSL support etc, designed to be used behind a proxy server. Minimal PHP packages are installed:
- php
- php-common
- php-fpm
- php-session
Nginx is setup by default to run PHP in FPM mode.  To override values in www.conf map a xx.json file to /etc/bf/php-fpm.d - see www-conf-sample.json.  Values in the php.ini file can be overridden in the same way - see Docker PHP for more information and a sample file.
- 80
| Volume | Purpose | 
|---|---|
| /www | From base image. | 
See Docker PHP for configuration instructions.
The image contains a handful of useful Nginx configuration 'helper' files, which you can find in /overlay/etc/nginx/helpers.  They all begin with the prefix 'php':
| Helper | Description | 
|---|---|
| -try-all.conf | Enables SEO-friendly URLs (e.g. without index.php). | 
| -try-php.conf | Sends the request to upstream PHP FastCGI Process Manager. | 
Copyright (c) 2020-2025 bfren (unless otherwise stated)