-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Containerized nvidia-snatcher #114
Comments
I think getting this to not use puppeteer and separating logic would help with containerization. Related to #113 |
puppeteer needs a display to work. xvfb will do the trick
I have a docker container for nodejs and xvfb as well: |
As a quick heads up everyone, my nvidia-snatcher on AWS got blocked. I don't have much experience when it comes to scraping pages, but I recently found this guide to help your bot run a little while longer. I do want to mentioned, the easiest way prevent getting blocked, is by limiting your rate. Change your request interval to 30+ seconds. |
Do you mind if we close this out? |
I recommend we keep it open, as I feel the information/discussion is helpful for others going down the path of containerization and web scraping on cloud providers. However, if you feel it is necessary to close, I'm 100% fine with you going forward on it. |
It will still be accessible, just closed. Or you can make a Wiki page https://github.com/jef/nvidia-snatcher/wiki . I'm just not sure what to do with this in Issue tracking. |
Related: #174 |
Not sure what I want do with Docker yet. There are some hurdles and hacks and I don't know if I want to put anything inside the repository. Feel free to create a Wiki page with instructions on installation. I don't know if I want to support this yet. |
For anyone that doesn't have node.js on their system or wants to drop this on AWS, here's a Dockerfile I threw together. Feel free to make improvements on this!
Usage notes:
Dockerfile
index.ts > main()
package.json
The text was updated successfully, but these errors were encountered: