aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2022-02-14 12:45:55 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-02-14 12:45:55 +0100
commit2096790f3904371c9ff6090f1ff846593c7df9c4 (patch)
tree96bf58bc2324675b0b9a7cdf9527bfbe7262ccbc /Readme.md
parentf4a5b478ad103c1fd53d229fc18f2c17a95c8bf1 (diff)
downloadRSS-watcher-0.2.0.tar.gz
RSS-watcher-0.2.0.zip
:children_crossing: Catch and deal with database connection error(s)v0.2.0
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/Readme.md b/Readme.md
index b7a7561..4740f5f 100644
--- a/Readme.md
+++ b/Readme.md
@@ -6,7 +6,8 @@ and pushes those to Gotify.
This can be run using docker or locally, to run with docker you can
```
$ run -it --rm -e DB_HOST=<database host> -e DB_USER=<database user> \
- -e DB_PASS=<database password> -e DB_BASE=<database name> jakobst1n/rss-watcher
+ -e DB_PASS=<database password> -e DB_BASE=<database name> \
+ --restart=unless-stopped jakobst1n/rss-watcher
```
To run locally you need to set all those environment variables, and then
you can run it with
@@ -32,5 +33,3 @@ will poll for new changes (in ms).
## Todo
- Extract more RSS fields.
- Deal with multiple links.
-- Add error handling for database connection, currently the process exits (which is why you might want to use `--restart=unless-stopped`
-- Add proper error handling for gotify failures