Troubleshooting 504 Gateway Timeout Issues in AWS ECS with Spring Boot and PostgreSQL