Releases: DenisLopatin/docker-web-server
Releases · DenisLopatin/docker-web-server
Release docker web server
This release of Docker Web Server focuses on improving stability, environment reproducibility, and enhancing the testing process.
✨ Key Features
- Isolated Environment: Runs Nginx, PHP-FPM (7.4-8.4), MySQL, MariaDB, PostgreSQL, Redis, RabbitMQ, Elasticsearch/Kibana in separate Docker containers.
- Management: Easy management of all services using Docker Compose and profiles.
- PHP Flexibility: Easily switch between PHP versions (7.4, 8.0, 8.1, 8.2, 8.3, 8.4) using the
PHP_VERSIONenvironment variable. - Tools: Includes PhpMyAdmin and PgAdmin4 for convenient database management.
- Configuration: Pre-configured files for most services.
🚀 Improvements and Fixes
- Version Stability: All Docker images in
docker-compose.ymlnow use fixed versions instead of:latestto ensure predictability and environment reproducibility. - PHP-FPM Images:
- Composer: The Composer tool, along with
gitandunzip, are now included in all PHP-FPM images, allowingcomposercommands to be run inside the container. - Tagging: PHP-FPM images are now explicitly named
local/php-fpm:<version>when built viadocker-compose.yml.
- Composer: The Composer tool, along with
- Xdebug: It's recommended to change
xdebug.start_with_request=yestoxdebug.start_with_request=triggerinxdebug.inito prevent unnecessary messages when running console commands. - PgAdmin4: The unofficial image has been replaced with the official
dpage/pgadmin4with a fixed version; port configuration andhealthcheckhave been updated. - CI/CD: Improved the GitHub Actions workflow (
playwright.yml) and the testing script (tests.sh):- CI now correctly runs E2E tests for each PHP version from the matrix.
- Fixed a case-sensitivity issue when checking PHP extensions.
- Fixed argument parsing logic in the
tests.shscript.
- Documentation: Added information about default service credentials and UID/GID configuration to
README.md.
🔧 Usage
To use this version:
- Update your local repository (
git pull). - Rebuild Docker images if necessary (
docker compose build). - Start the environment with the desired PHP version (
PHP_VERSION=X.Y docker compose up -d).
This release makes using Docker Web Server more reliable and predictable for local development and CI/CD.