aboutsummaryrefslogtreecommitdiff
path: root/Docker/README.md
diff options
context:
space:
mode:
authorGravatar Chris Francy <zoredache@users.noreply.github.com> 2021-10-24 08:25:03 -0700
committerGravatar GitHub <noreply@github.com> 2021-10-24 17:25:03 +0200
commit07e00c7681e5fd9e680cba75125b166b96a96198 (patch)
tree724b01fd3e0b135ce56ac2c893f730b5de468973 /Docker/README.md
parentc5ab4cea4a773b2d61e2413a955785431517c3ce (diff)
Docker: don't add crontab unless needed. (#3927)
Adding the crontab as part of the image build makes it more complicated to add custom entries to the crontab. Adjusting the image and entrypoint to make it so that the crontab is only added when CRON_MIN is set simplifies having a custom crontab.
Diffstat (limited to 'Docker/README.md')
-rw-r--r--Docker/README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/Docker/README.md b/Docker/README.md
index 0f3591ba8..c5a6792e3 100644
--- a/Docker/README.md
+++ b/Docker/README.md
@@ -248,6 +248,21 @@ docker run -d --restart unless-stopped --log-opt max-size=10m \
cron -f
```
+#### For the Debian image (default) using a custom cron.d fragment
+
+This method gives you the most flexibility most flexiblity to
+execute various freshrss cli commands.
+
+```sh
+docker run -d --restart unless-stopped --log-opt max-size=10m \
+ -v freshrss-data:/var/www/FreshRSS/data \
+ -v freshrss-extensions:/var/www/FreshRSS/extensions \
+ -v ./freshrss_crontab:/etc/cron.d/freshrss \
+ --net freshrss-network \
+ --name freshrss_cron freshrss/freshrss \
+ cron -f
+```
+
#### For the Alpine image
```sh