1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-05-19 22:23:22 +02:00
This commit is contained in:
kev 2015-07-07 17:06:08 +08:00
parent 855e4e4bfe
commit 90a9b80d2b
3 changed files with 19 additions and 4 deletions

View File

@ -14,7 +14,8 @@ RUN apk add -U ca-certificates \
make \
python-dev \
py-pip \
&& pip install keyring \
&& pip install futures \
keyring \
lxml \
urlwatch \
pyyaml \

View File

@ -1,7 +1,16 @@
urlwatch
========
[urlwatch][1] - a tool for monitoring webpages for updates
[urlwatch][1] is a tool for monitoring webpages for updates.
```
cron: triggered every 15 minutes
-> make: generate urls.txt from urls.yml
-> urlwatch: fetch webpages
-> hooks.py: extract info
-> email: send via smtp
-> (^_^)
```
## docker-compose.yml
@ -35,8 +44,7 @@ setup:
python -c 'import keyring; keyring.set_password("$(SMTP)", "$(FROM)", "$(PASS)")'
```
> Please change `STMP`/`FROM`/`PASS`/`TO`
> Please change `STMP`/`FROM`/`PASS`/`TO` to correct value.
## urls.yml

View File

@ -0,0 +1,6 @@
urlwatch:
image: vimagick/urlwatch
volumes:
- urlwatch/Makefile:/root/.urlwatch/Makefile
- urlwatch/urls.yml:/root/.urlwatch/urls.yml
restart: always