Hi all,
This email outlines the changes made to migrate the Organization Chart frontend deployment from Azure to Choreo.
Purpose:
The migration was driven by the need to transition the Org Chart frontend from Azure to Choreo for a more cost-effective and manageable deployment solution.Changes Implemented:
Module Update:
Updated outdated project dependencies to ensure compatibility with Choreo's environment.Server URL & Environment Configuration:
Removed the hardcoded server URL from both the Dockerfile and the public React app URL. The server URL is now dynamically retrieved from a configuration file, allowing the application to be deployed across multiple environments without changes to the code.Docker Security Improvements:
Introduced a non-root user to the Docker image for enhanced security.
Updated the NGINX configuration by adding new paths and ensuring the necessary permissions were set for these paths in the Dockerfile.
Additionally, we made some other changes to improve the deployment process overall. For a detailed review, please refer to the PR: Org Chart Frontend Migration.
Best regards,
Visal.--