Replaced cron with python scheduler and using python yaml library. Updated readme.
This commit is contained in:
@ -7,7 +7,10 @@ services:
|
||||
environment:
|
||||
- TZ=Europe/Paris # change to your timezone
|
||||
- BLOCK_COUNTRIES=cn,ru # choose countries listed IP to block. Full lists here https://github.com/vulnebify/cidre/tree/main/output/cidr/ipv4
|
||||
- BLOCKLIST_CRON=0 6 * * * # at 6:00 every days
|
||||
- BLOCKLIST_CRON_TYPE=daily # daily or weekly
|
||||
# if weekly, choose the day
|
||||
# - BLOCKLIST_CRON_DAY=mon
|
||||
- BLOCKLIST_CRON_TIME=06:00
|
||||
- DOCKER_API_URL=http://socket-proxy-adguard:2375 # docker socket proxy
|
||||
- ADGUARD_CONTAINER_NAME=adguardhome # adguard container name
|
||||
volumes:
|
||||
|
Reference in New Issue
Block a user