aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Stendahl <14180120+JakobST1n@users.noreply.github.com>2022-01-24 15:22:51 +0100
committerGitHub <noreply@github.com>2022-01-24 15:22:51 +0100
commitf6432a4611ffc1ec4cc6592f880338b945edb2c2 (patch)
tree4ca002de49a0f76823a6efc2777d85014a572fdc
parent62e730d88ad3750d085f93257c5b70253f3cd5c1 (diff)
downloadRSS-watcher-f6432a4611ffc1ec4cc6592f880338b945edb2c2.tar.gz
RSS-watcher-f6432a4611ffc1ec4cc6592f880338b945edb2c2.zip
:memo: Add docker hub image
-rw-r--r--Readme.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/Readme.md b/Readme.md
index 691963c..b7a7561 100644
--- a/Readme.md
+++ b/Readme.md
@@ -5,9 +5,8 @@ and pushes those to Gotify.
## Usage
This can be run using docker or locally, to run with docker you can
```
-$ docker build -t rss-watcher .
-$ docker run -it --rm -e DB_HOST=<database host> -e DB_USER=<database user> \
- -e DB_PASS=<database password> -e DB_BASE=<database name> rss-watcher
+$ 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
```
To run locally you need to set all those environment variables, and then
you can run it with
@@ -33,4 +32,5 @@ 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