Trigger action (shell script) if Web-Feed (RSS or Atom) changes.
The Feed Actions Docker image is based on Alpine Linux, cron and rsstail.
- regular and timely application updates
- BusyBox provides a subset of over two hundred utilities
- schedule via cronjob
- simple configuration
The image is automatically rebuilt when the alpine (latest) Official Docker Image receives an update.
Here are some example snippets to help you get started creating a container.
Compatible with docker-compose v2 schemas.
version: "2.1"
services:
feed-actions:
image: lapicidae/feed-actions
container_name: feed-actions
environment:
- TZ=Europe/London
volumes:
- /path/to/config:/config
restart: unless-stopped
docker run -d \
--name=feed-actions \
-e TZ=Europe/London \
-v /path/to/config:/config \
--restart unless-stopped \
lapicidae/feed-actions
Container images are configured using parameters passed at runtime.
Parameter | Function |
---|---|
-e TZ=Europe/London |
Specify a timezone to use (e.g. Europe/London) |
Simply edit the two files provided.
2 3 * * * /bin/bash /usr/bin/feed-actions
Change the time at which the magic happens.
crontab exampels -> crontab.guru
Do not change the /bin/bash /usr/bin/feed-actions
part!
[test-project]
URL='http://www.test.org/feed.atom'
TRIGGER='curl -X POST https://hub.docker.com/api/build/v1/source/r2136542-9h8d-6rfd-5687-21fc6d2365tz/trigger/fe67d9a4-3d8b-5963-a5d8-25dc46cf5879/call/'
Section | Function |
---|---|
[name] |
Section name - must be unique !! |
URL |
RSS or Atom Feed URL |
TRIGGER |
Bash one-liner |
Take a look at RSSHub. 🍰 Everything is RSSible!