[add] Forcing proxy refresh on container run

This commit is contained in:
2022-09-17 19:57:58 -06:00
parent 9ed011d4ad
commit 978c0ecd19
4 changed files with 25 additions and 4 deletions

5
entrypoint.sh Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env sh
python3 /app/scrape_proxies.py | tee /mubeng/proxies.txt
/bin/mubeng --check --address 0.0.0.0:8080 --rotate 1 --method random --file /mubeng/proxies.txt --watch --timeout 10s