Open jokay opened 2 years ago
@leonjza I've done something similar using an entrypoint.sh
script, see here.
Hey, this is a pretty cool idea! I think we have all of the plumbing for this already as well, we just need to add some logic to sleep. I tagged this as an enhancement.
Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
We would like to have an environment variable which allows to specify an interval for regularly image downloads.
With this approach the container would not be stopped after the command.
Describe alternatives you've considered
Currently we are using cron and three seperate commands to achieve this.
Additional context
e.g.
INTERVAL
(in seconds) of 86400 (24h).docker-compose.yml
urls.txt