opnform-host-nginx/api
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
..
app Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
bootstrap Refactor Docker configuration and development setup 2025-01-29 17:19:36 +01:00
config Enhance JWT Authentication Middleware and Configuration 2025-05-07 08:26:33 +02:00
database Partial submissions (#705) 2025-04-28 17:33:55 +02:00
public Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
resources Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
routes Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
storage Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
tests Slug customisation (#755) 2025-05-19 21:06:54 +02:00
.env.docker Enhance Docker Configuration and Health Checks (#761) 2025-05-20 19:20:44 +02:00
.env.example Integration pages from Notion (#753) 2025-05-19 15:08:15 +02:00
.gitignore Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
_ide_helper_models.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
artisan Update Docker Documentation to Address Line Ending Issues for Windows Users 2025-03-21 16:30:59 +01:00
composer.json Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
composer.lock Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
phpunit.xml Email spam security (#641) 2024-12-18 13:16:27 +01:00
pint.json Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
ray.php Refactor form rendering (#747) 2025-05-07 17:15:56 +02:00
server.php Separated laravel app to its own folder (#540) 2024-08-26 18:24:56 +02:00
vapor.yml Update Vapor deployment configuration 2025-02-15 09:18:27 +00:00