* chore: update Dockerfile to create a user and adjust permissions for better security and organization
* chore: update Dockerfile to set ownership for non-root user and enhance security
* chore: enhance AWS credentials handling in settings and environment files
- Refactored common.py to simplify AWS credentials checks for database access.
- Updated env.ts to include EKS Pod Identity as an alternative for Secrets Manager.
- Modified redis.ts to accommodate the new credentials handling logic.
* chore: enhance Redis URL resolution and testing for AWS credentials
- Updated RedisManager to clarify AWS credentials handling for Redis URL resolution.
- Improved comments in redis.ts to reflect the use of IRSA and EKS Pod Identity.
- Added a new test case to validate Secrets Manager usage when Pod Identity credentials are present.
* chore: simplify AWS credentials checks in common.py
- Updated common.py to streamline the logic for checking AWS credentials by removing unnecessary string stripping.
- This change enhances readability and maintains the functionality for AWS role and container credentials detection.
* chore: update Dockerfiles to include LICENSE.txt and adjust Docker Compose paths
- Added LICENSE.txt copying to various Dockerfiles for compliance.
- Updated Docker Compose file to correct paths for Dockerfiles in the apps directory.
- Renamed copy_env_file function to copy_file in setup.sh for clarity and consistency.
* chore: refine Docker Compose and setup scripts for improved service builds
- Updated Docker Compose file to specify correct build contexts and Dockerfile paths for the monitor and email services.
- Removed license file copying from setup.sh to streamline the build process.
- Cleaned up .gitignore by removing the LICENSE.txt entry for apps.