This pull request addresses key operational improvements in cron job scripts and optimizes the Docker volumes.
Closes #14.
Fix the cron job script to better locate the Conda environment path dynamically, addressing issues with the which command not functioning correctly within the cron environment.
Implement a new Docker volume configuration to store es-journals indexed data externally.
Remove unnecessary dependencies from the Docker setup to decrease the image size and reduce build times.
Dynamic Environment Variables: The script has been updated to utilize the ELASTIC_VOLUME variable from the .env file for constructing file paths. This change allows the script to adapt seamlessly to different environment configurations without hardcoding paths.
Description:
This pull request addresses key operational improvements in cron job scripts and optimizes the Docker volumes.
Closes #14.
Fix the cron job script to better locate the Conda environment path dynamically, addressing issues with the
which
command not functioning correctly within the cron environment.Implement a new Docker volume configuration to store
es-journals
indexed data externally.Remove unnecessary dependencies from the Docker setup to decrease the image size and reduce build times.
Dynamic Environment Variables: The script has been updated to utilize the
ELASTIC_VOLUME
variable from the.env
file for constructing file paths. This change allows the script to adapt seamlessly to different environment configurations without hardcoding paths.