diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-02-14 12:45:55 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-02-14 12:45:55 +0100 |
commit | 2096790f3904371c9ff6090f1ff846593c7df9c4 (patch) | |
tree | 96bf58bc2324675b0b9a7cdf9527bfbe7262ccbc /Readme.md | |
parent | f4a5b478ad103c1fd53d229fc18f2c17a95c8bf1 (diff) | |
download | RSS-watcher-2096790f3904371c9ff6090f1ff846593c7df9c4.tar.gz RSS-watcher-2096790f3904371c9ff6090f1ff846593c7df9c4.zip |
:children_crossing: Catch and deal with database connection error(s)v0.2.0
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |