Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable update time for Docker version #449

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chavan-arvind
Copy link

Fixes #440

Add configuration for scheduled updates in Docker version.

  • Dockerfile

    • Add UPDATE_CRON environment variable to allow custom cron schedules.
    • Modify the RUN command to use the UPDATE_CRON variable for setting the cron jobs.
  • config/config.ini

    • Add a new setting update_cron for specifying the cron schedule.
  • docs/tutorial.md

    • Update the documentation to explain how to configure the update time or interval for the Docker version.
  • docs/tutorial_en.md

    • Update the documentation to explain how to configure the update time or interval for the Docker version.

Fixes Guovin#440

Add configuration for scheduled updates in Docker version.

* **Dockerfile**
  - Add `UPDATE_CRON` environment variable to allow custom cron schedules.
  - Modify the `RUN` command to use the `UPDATE_CRON` variable for setting the cron jobs.

* **config/config.ini**
  - Add a new setting `update_cron` for specifying the cron schedule.

* **docs/tutorial.md**
  - Update the documentation to explain how to configure the update time or interval for the Docker version.

* **docs/tutorial_en.md**
  - Update the documentation to explain how to configure the update time or interval for the Docker version.
@Guovin
Copy link
Owner

Guovin commented Oct 24, 2024

Well done, you've done what I planned to do. The docker container startup also seems to be missing code to read the update_cron configuration in config.ini. I am also optimizing docker related code recently, and I will merge it with your code after I improve it, thank you.

@Guovin
Copy link
Owner

Guovin commented Oct 24, 2024

Please push your code to the dev branch, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker 版本能配置定时更新的时间?
2 participants