Skip to content

Releases: DenisLopatin/docker-web-server

Release docker web server

26 Oct 22:55

Choose a tag to compare

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_VERSION environment 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.yml now use fixed versions instead of :latest to ensure predictability and environment reproducibility.
  • PHP-FPM Images:
    • Composer: The Composer tool, along with git and unzip, are now included in all PHP-FPM images, allowing composer commands to be run inside the container.
    • Tagging: PHP-FPM images are now explicitly named local/php-fpm:<version> when built via docker-compose.yml.
  • Xdebug: It's recommended to change xdebug.start_with_request=yes to xdebug.start_with_request=trigger in xdebug.ini to prevent unnecessary messages when running console commands.
  • PgAdmin4: The unofficial image has been replaced with the official dpage/pgadmin4 with a fixed version; port configuration and healthcheck have 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.sh script.
  • Documentation: Added information about default service credentials and UID/GID configuration to README.md.

🔧 Usage

To use this version:

  1. Update your local repository (git pull).
  2. Rebuild Docker images if necessary (docker compose build).
  3. 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.