opnform-host-nginx/docker
Julien Nahum 7d7aba10b1 Refactor Docker Entrypoint and Environment Variables
- Removed the `IS_API_WORKER` environment variable from `docker-compose.yml`, simplifying the configuration for API services and aligning with the new role-based command handling.
- Updated the `php-fpm-entrypoint` script to determine the role (API, worker, or scheduler) based on the command being executed, enhancing flexibility and clarity in service initialization.
- Streamlined the setup process for different roles, ensuring that appropriate commands are executed based on the determined role, which improves maintainability and reduces potential errors.

These changes aim to enhance the Docker configuration by adopting a more dynamic approach to service roles, improving the overall deployment process.
2025-05-22 13:21:56 +02:00
..
Dockerfile.api Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
Dockerfile.client Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
nginx.conf Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
nginx.dev.conf Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
php-fpm-entrypoint Refactor Docker Entrypoint and Environment Variables 2025-05-22 13:21:56 +02:00