docker-php icon indicating copy to clipboard operation
docker-php copied to clipboard

Adding Supervisord Header Config

Open dbpolito opened this issue 7 months ago • 0 comments

This pull request introduces improvements to the CI/CD workflow and simplifies the Docker images for multiple PHP-Nginx versions by replacing manual installation of supervisord with package manager installation and adding a new supervisor.conf configuration file.

CI/CD Workflow Updates:

  • Added pull_request as a trigger in the CI/CD workflow configuration to enable testing for pull requests. (.github/workflows/ci-cd.yml, .github/workflows/ci-cd.ymlR6)

Dockerfile Simplifications:

  • Replaced the manual download and installation of supervisord with its installation via the package manager (apk add --no-cache nginx supervisord) across all PHP-Nginx versions (8.0, 8.1, 8.2, 8.3, 8.4) for both -prod and non--prod variants. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Supervisor Configuration:

  • Added a supervisor.conf file for all PHP-Nginx versions (8.0, 8.1, 8.2, 8.3, 8.4) to configure supervisord with logging to stdout and to run in no-daemon mode. This ensures better integration with containerized environments.

dbpolito avatar Apr 29 '25 16:04 dbpolito