TheNetsky / Microsoft-Rewards-Script

Automated Microsoft Rewards script, using TypeScript, Cheerio and Playwright.
233 stars 52 forks source link

Clarify docker instructions, add basic compose.yaml support #89

Closed mgrimace closed 7 months ago

mgrimace commented 7 months ago

This should help folks get started with docker and hopefully make it easier for testing.

I have not made any changes whatsoever to the underlying script or the dockerfile. I have created a simple compose.yaml file, which I find much easier to use when deploying docker containers, and added/clarified some instructions in the README.md.

The compose file is very basic, and should work as expected. Note that I made the container name netsky. If you prefer to use a different container name, please feelf ree to change it in the container_name: values in the compose, in the docker run command that I added to the README.md, and in the docker start commands in the README.md.

Thanks again, and my testing is tracked in #86, where I also included some basic suggestions to automatically schedule daily runs of the docker container if folks are interested.