mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-05-19 22:23:22 +02:00
update
This commit is contained in:
parent
855e4e4bfe
commit
90a9b80d2b
@ -14,7 +14,8 @@ RUN apk add -U ca-certificates \
|
|||||||
make \
|
make \
|
||||||
python-dev \
|
python-dev \
|
||||||
py-pip \
|
py-pip \
|
||||||
&& pip install keyring \
|
&& pip install futures \
|
||||||
|
keyring \
|
||||||
lxml \
|
lxml \
|
||||||
urlwatch \
|
urlwatch \
|
||||||
pyyaml \
|
pyyaml \
|
||||||
|
@ -1,7 +1,16 @@
|
|||||||
urlwatch
|
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
|
## docker-compose.yml
|
||||||
|
|
||||||
@ -35,8 +44,7 @@ setup:
|
|||||||
python -c 'import keyring; keyring.set_password("$(SMTP)", "$(FROM)", "$(PASS)")'
|
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
|
## urls.yml
|
||||||
|
|
||||||
|
6
urlwatch/docker-compose.yml
Normal file
6
urlwatch/docker-compose.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
urlwatch:
|
||||||
|
image: vimagick/urlwatch
|
||||||
|
volumes:
|
||||||
|
- urlwatch/Makefile:/root/.urlwatch/Makefile
|
||||||
|
- urlwatch/urls.yml:/root/.urlwatch/urls.yml
|
||||||
|
restart: always
|
Loading…
x
Reference in New Issue
Block a user