- Delete Gateway module, associated Spring Boot application, and related configuration (`GatewayApplication.java`, `application.yml`, and `pom.xml`).
- Remove Gateway references in `docker-compose.yml`, `.gitlab-ci.yml`, and `backend/pom.xml`.
- Update backend services to directly handle requests under `/api` prefix (e.g., `/api/customers`, `/api/contact`).
- Adjust frontend contact route to connect directly to the server, replacing gateway references with server URLs.
Simplified environment variable substitution to improve consistency during builds. Modified the start command to source variables from .env, ensuring proper runtime configuration.
This change adds a step to create a `.env` file with the HCAPTCHA site key during the Docker build process. It ensures the environment variable is available for use within the container.
This change adds a step to create a `.env` file with the HCAPTCHA site key during the Docker build process. It ensures the environment variable is available for use within the container.
Added NEXT_PUBLIC_HCAPTCHA_SITE_KEY to the Dockerfile to pass the hCaptcha site key as an environment variable during the build process. This ensures the key is appropriately injected into the Next.js build.
Updated `.gitlab-ci.yml` to include HCAPTCHA_SITE_KEY as a build argument for frontend builds. Adjusted `.gitlab-ci-template.yml` to ensure BUILD_ARGS processes new and existing arguments correctly. This enhances customization and environment-specific builds.