opnform-host-nginx/api/app
Julien Nahum ae21cae8cd
Enhance Docker Configuration and Health Checks (#761)
* Enhance Docker Configuration and Health Checks

- Added PHP configuration settings in `docker-compose.dev.yml` and `docker-compose.yml` to improve memory management and execution limits, ensuring better performance for PHP applications.
- Introduced health checks for various services including `api`, `api-worker`, `api-scheduler`, `ui`, `redis`, and `db` to ensure service availability and reliability.
- Updated environment variables in `.env.docker` and `client/.env.docker` to include new keys for H-Captcha and reCAPTCHA, enhancing security features.
- Refactored the PHP-FPM entrypoint script to apply PHP configurations dynamically based on environment variables, improving flexibility in deployment.
- Removed outdated PHP configuration files to streamline the Docker setup.

These changes aim to enhance the overall stability, performance, and security of the application in a Dockerized environment.

* Refactor Dockerfile for Improved Build Process

- Changed the Dockerfile to utilize a multi-stage build approach, separating the build and runtime environments for better efficiency.
- Introduced a builder stage using the PHP CLI image to install dependencies and extensions, optimizing the final image size.
- Removed unnecessary installation steps and combined related commands to streamline the Dockerfile, enhancing readability and maintainability.
- Updated the runtime stage to use the PHP FPM Alpine image, ensuring a smaller and more secure production environment.

These changes aim to improve the build process, reduce image size, and enhance the overall performance of the Dockerized application.
2025-05-20 19:20:44 +02:00
..
Console Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
Enums Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
Events Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
Exceptions Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
Exports Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
Http Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
Integrations Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
Jobs Refactor Form Submission Logic and Improve File Handling 2025-05-07 20:03:56 +02:00
Listeners Custom SMTP Settings (#561) 2024-09-24 12:16:20 +02:00
Mail Apply Mentions everywhere (#595) 2024-10-22 10:34:29 +02:00
Models Enhance Form Visibility Logic and UI Components 2025-05-16 19:59:08 +02:00
Notifications Improve Email Notification Message-ID and Threading Generation 2025-03-06 13:21:12 +08:00
Open Fix quill and mentions (#758) 2025-05-16 17:09:07 +02:00
Policies Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
Providers Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
Rules Slug customisation (#755) 2025-05-19 21:06:54 +02:00
Service Refactor Form Submission Logic and Improve File Handling 2025-05-07 20:03:56 +02:00
Traits Implement EnsureUserHasWorkspace Trait and Integrate into Controllers… (#741) 2025-04-28 18:03:38 +02:00
helpers.php Custom SMTP Settings (#561) 2024-09-24 12:16:20 +02:00