inderpreet99 / afraid-autologin

Automatically login to FreeDNS.Afraid.org to avoid termination due to dormant account
Apache License 2.0
22 stars 10 forks source link

Adding Docker support #7

Closed strenkml closed 2 years ago

strenkml commented 3 years ago

I created a dockerfile to automate the install process. The dockerfile sets up a cronjob that runs on the 1st of each month at noon. I modified the settings.py file to read in the environment variables USERNAME and PASSWORD to allow for easy docker configuration.

inderpreet99 commented 2 years ago

Thanks, this makes it really easy to work on any platform.

Curious, does this mean you must keep the docker container running in the background to get this functionality?

strenkml commented 2 years ago

Sorry. I didn't see this comment. But yes you just keep the docker running in the background