Containerize scraper and externalize credentials
Move DB host/user/password, Discord webhook, and log path to env vars so the script can be deployed via Docker compose. Discord notifications are now skipped silently when DISCORD_WEBHOOK is unset (the old hardcoded webhook is removed pending rotation). Adds Dockerfile, docker-compose.yml, requirements.txt, .env.example, and .gitignore for the cyrion deployment.
This commit is contained in:
1 parent
b9864b36b4
commit
10bdee8e1f
6 files changed
+237
-181
No files matched your search
@@ -0,0 +1,7 @@
|
||||
.env
|
||||
__pycache__/
|
||||
*.pyc
|
||||
.venv/
|
||||
venv/
|
||||
historical_data/
|
||||
*.log
|
||||
Reference in new issue
Block a user