-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
50 lines (39 loc) · 981 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
sources:
- field: ip
name: "ipify"
type: json
url:
v4: https://api.ipify.org?format=json
v6: https://api6.ipify.org?format=json
- field: ip
name: "myip"
type: json
url:
v4: https://api4.my-ip.io/v2/ip.json
v6: https://api6.my-ip.io/v2/ip.json
watcher:
timeout: 10 # 43200 # 12 hours
# force_source: "ipify" # should not be included if not used
max_execution_time: 10
events:
on_change:
notify: false
actions:
- type: "python"
path: "scripts/example_script.py"
args: "-flag this_is_a_flag"
on_match:
notify: false
on_error:
notify: false
smtp:
smtp_server: "smtp.gmail.com" # or any other smtp servers
smtp_port: 587
username: "username"
password: "app_password"
from_address: "[email protected]"
recipients:
- address: "[email protected]"
name: "Example"
api:
port: 5555