nginx-php-docker

A lightweight combined Nginx/PHP-FPM Docker image.

MIT License

Stars
3

Bot releases are hidden (Show)

nginx-php-docker - 18 Latest Release

Published by Justintime50 11 months ago

  • Adds PHP 8.3 support
nginx-php-docker - 17

Published by Justintime50 about 1 year ago

  • Bumps PHP minor versions used under the hood (necessary for PHP 8.2.9+ for PHP VCR segfault corrections)
nginx-php-docker - 16

Published by Justintime50 about 1 year ago

  • Logs Nginx access/error messages to stdout/stderr in addition to file
  • No longer logs php-fpm to stdout
  • Improves security by adding X-Frame-Options and X-Content-Type-Options headers
  • Defaults from PHP 7.4 to PHP 8.2 when no flag is passed so latest matches expectations better
nginx-php-docker - 15

Published by Justintime50 over 1 year ago

  • Overhauls msmtp configuration to work with Mailtrap instead of Mailcatcher out of the box, adjusts default, corrects log file permissions, and enables PHP to use msmtp out of the box
nginx-php-docker - 14

Published by Justintime50 almost 2 years ago

  • Adds NPM to the container
nginx-php-docker - 13

Published by Justintime50 almost 2 years ago

  • Fixes an inline comment throwing errors for opcache.ini output on image startup
nginx-php-docker - 12

Published by Justintime50 almost 2 years ago

  • Adds PHP 8.2 support
  • Bumps image and build dependencies
nginx-php-docker - 11

Published by Justintime50 over 2 years ago

  • Corrects port exposure back to ports 80 and 443 as intended externally
nginx-php-docker - 10

Published by Justintime50 over 2 years ago

  • Container now runs as www-data instead of root dramatically increasing security
  • Container now exposes ports 8080 and 8443 instead of 80 and 443
nginx-php-docker - 9

Published by Justintime50 almost 3 years ago

  • Adds PHP 8.1 support
nginx-php-docker - 8

Published by Justintime50 about 3 years ago

  • Adds build architectures for linux/amd64 (eg: Intel), linux/arm/v7 (eg: Raspberry Pi), linux/arm64 (eg: M1 Macs)
nginx-php-docker - 7

Published by Justintime50 about 3 years ago

  • Changes nginx config path from /etc/nginx/conf.d/*.conf to /etc/nginx/http.d/*.conf as this was altered in Alpine 3.14/15
  • Pins dependencies to their major versions
  • Changes default location from /var/www/html to /var/www/html/public, this will allow Laravel applications to use the same nginx config without the need to change anything.
  • Changes nginx landing page to PHP Info
  • Improved OPcache performance by allowing more memory
  • Remove build cache when finished to reduce image size
  • Moved opcache config from the Dockerfile to a separate ini file, enabled JIT compiling
  • Expire static asset caching after 30 days in nginx config
  • Deny access to non-site or public assets in nginx config
  • Turns off nginx version info on publicly accessible pages
  • Due to Docker autobuilds becoming a paid service, the latest tag will now be built via GitHub Actions on any push to the main branch.
  • Updates various pieces of documentation
nginx-php-docker - v6

Published by Justintime50 over 3 years ago

  • Removes server_name from nginx.conf as it's not needed
nginx-php-docker - v5

Published by Justintime50 over 3 years ago

  • Adds Composer to the image out of the box
  • Set explicit shell
nginx-php-docker - v4

Published by Justintime50 over 3 years ago

  • Dropped support for PHP 7.0 - 7.3 due to GD changes that cannot build properly under those versions
  • Switched from Travis CI to GitHub Actions
  • Adopted new release workflow where each change simply iterates the version number since we provide images for various PHP versions
Related Projects