Fixes: 1) Correct `.dockerignore` entry for the relocated `storefront/Dockerfile`;
Extra: 1) Refactor file structure by renaming `Dockerfile.storefront` to `storefront/Dockerfile`.
Fixes: 1) Correct build key structure for Dockerfile definitions across services;
Extra: Code cleanup for consistency in unused storefront service comments;
Fixes: None;
Extra: 1) Add comments and structure to `.gitignore` for improved readability and maintainability; 2) Update placeholder comments in `docker-compose.yml` for future services.
Fixes: 1) Update `docker-compose.yml` to use `Dockerfile.app` instead of default build context;
Extra: 1) Add commented-out `storefront` service in `docker-compose.yml` for potential future use; 2) Minor cleanup and structuring of Docker setup;
Consolidate the Celery worker command into a single line for improved readability and maintainability. This change reduces unnecessary line breaks without altering functionality.
Updated the Celery worker command in docker-compose.yml for better readability and consistency using line continuation characters. Ensured no functional changes were introduced during the formatting update.
Increased `task_soft_time_limit` to 7200 seconds and `task_time_limit` to 10800 seconds in both `celery.py` and `docker-compose.yml`. This change allows longer-running tasks to complete without premature termination.
Updated `task_soft_time_limit` to 3600 seconds and `task_time_limit` to 7200 seconds in both `celery.py` and `docker-compose.yml`. This allows tasks to run longer before being terminated, ensuring support for extended processing requirements.
Added Elasticsearch as a dependency for 'app' and 'database' services to ensure proper startup order. Removed unnecessary Redis dependency from the Flower service to streamline configuration. These changes improve service interactions and startup stability.
Refactored Celery configurations to enhance task reliability, including changes to prefetch multiplier and timeout settings. Updated the worker command in `docker-compose.yml` to specify concurrency, memory limits, and task timeouts. Added a memory limit for the worker service to improve resource management.