diff options
| author | 2019-04-02 14:21:34 +0200 | |
|---|---|---|
| committer | 2019-04-02 14:21:34 +0200 | |
| commit | 32dd2e3c33e0cb569b8e50a4cc203a73146e3f29 (patch) | |
| tree | 546361938ee80f68585966ec7ee3e6211adc9949 /Docker/README.md | |
| parent | c48e28baf62ce21529e219311de5d113743cde4e (diff) | |
Docker better use of crontab (#2326)
Misc. from https://github.com/FreshRSS/FreshRSS/pull/2325
https://github.com/FreshRSS/FreshRSS/issues/2319
Diffstat (limited to 'Docker/README.md')
| -rw-r--r-- | Docker/README.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/Docker/README.md b/Docker/README.md index 3cfb05c69..9bf20c8c2 100644 --- a/Docker/README.md +++ b/Docker/README.md @@ -211,12 +211,23 @@ For advanced users. Offers good logging and monitoring with auto-restart on fail Watch out to use the same run parameters than in your main FreshRSS instance, for database, networking, and file system. See cron option 1 for customising the cron schedule. +#### For the Ubuntu image (default) ```sh sudo docker run -d --restart unless-stopped --log-opt max-size=10m \ -v freshrss-data:/var/www/FreshRSS/data \ - -e 'CRON_MIN=17,37' \ + -e 'CRON_MIN=17,47' \ --net freshrss-network \ --name freshrss_cron freshrss/freshrss \ + cron +``` + +#### For the Alpine image +```sh +sudo docker run -d --restart unless-stopped --log-opt max-size=10m \ + -v freshrss-data:/var/www/FreshRSS/data \ + -e 'CRON_MIN=27,57' \ + --net freshrss-network \ + --name freshrss_cron freshrss/freshrss:alpine \ crond -f -d 6 ``` |
